graphnet
graphnet copied to clipboard
Allow for sqlite query when using StringSelectionResolver
Selections not handled equally by pandas and sqlite query
The selections that are possible with the pandas.query() function is limited and not equal to what can be done when using an sqlite query. There is currently no way to allow for the selection query to be passed on to query_table function even though we support sqlite query selection in the query_table function of SQLiteDataset class
feature
I'd like to be able to use sqlite query selections even when using the StringSelectionResolver
Implementation
add an optional variable to StringSelectionResolver whether to use the selection query of the super ie. SQLiteDataset or ParquetDataset class. (str selections not currently not supported in parquet)