-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
queries fall over when searching for data objects with 'select' in the filename #281
Comments
follow up post on the chat list...
|
can we just use GenQuery2? |
Sure, but I would hesitate to introduce it in 4.3.3.1. That said, it's not necessarily my decision. :) |
If we have a GenQuery1 solution that works - sure, let's do that here. But if it's not obvious how to do that... I think we can use GenQuery2 safely enough... |
So we need a test that creates a data object with "select" and/or characters in the set As for a solution, we are looking to fix the GenQuery1 implementation of the internal queries (because we cannot fundamentally change the violating queries in a minor release) for 4.3.3.1. If that doesn't work, this will get booted from the milestone and the queries re-implemented using GenQuery2. |
I was able to reproduce the We can still add a test to see if data objects with "select" in the path are tiered out. Just can't use |
The itouch issue was previously reported at irods/irods#7174 and closed as part of the 5.0.0 milestone. |
Ah, I was looking for that and didn't find it. We can close irods/irods#8148 as a duplicate. Thanks |
Now that I'm digging into this, I see the issue from the Google Group is directly related to an apostrophe in the object name. I didn't see that before, so, apologies for all the flailing. That would fall squarely under the irods/irods#3902 umbrella. We cannot fix that issue without changing our queries to GenQuery2 in 4.3 (#290). Given that 4.3.3.1 is supposed to be a stable release, I think we should delay this until later. I wouldn't rule it out as a possibility for 4.3, but just not for this release. We can fix the "select" in the object name issue for this issue and circle back for the apostrophe issue in a later release. I've created #328 for the apostrophe situation. |
I agree we should delay this until later. |
Using lowercase 'select' rather than 'SELECT' in GenQuery1 is a known workaround for an issue with the historical parser for dealing with queries that deal with the word 'select'. All internal queries in this plugin have been converted to use lowercase letters for all GenQuery syntax. Also, any instance which was touched and was using boost::format has been changed to use fmt::format. And updated README to use lowercase 'select' in example queries, as well.
Using lowercase 'select' rather than 'SELECT' in GenQuery1 is a known workaround for an issue with the historical parser for dealing with queries that deal with the word 'select'. All internal queries in this plugin have been converted to use lowercase letters for all GenQuery syntax. Also, any instance which was touched and was using boost::format has been changed to use fmt::format. And updated README to use lowercase 'select' in example queries, as well.
Using lowercase 'select' rather than 'SELECT' in GenQuery1 is a known workaround for an issue with the historical parser for dealing with queries that deal with the word 'select'. All internal queries in this plugin have been converted to use lowercase letters for all GenQuery syntax. Also, any instance which was touched and was using boost::format has been changed to use fmt::format. And updated README to use lowercase 'select' in example queries, as well.
Using lowercase 'select' rather than 'SELECT' in GenQuery1 is a known workaround for an issue with the historical parser for dealing with queries that deal with the word 'select'. All internal queries in this plugin have been converted to use lowercase letters for all GenQuery syntax. Also, any instance which was touched and was using boost::format has been changed to use fmt::format. And updated README to use lowercase 'select' in example queries, as well.
Objects with "select" in the name should now tier out appropriately. Objects with apostrophes in the name will be addressed in #328. Closing this one. |
From irod-chat ... https://groups.google.com/g/irod-chat/c/C7Rs0gijExw
Similar to irods/irods#4697 ...
We need to lowercase the queries used in storage tiering as a workaround until iRODS has a proper parser everywhere.
Currently, this is the behavior with storage_tiering installed...
The text was updated successfully, but these errors were encountered: