Skip to content
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

Querying User-defined Field Types in Solr give KeyError #8

Open
aehmohamed opened this issue May 21, 2021 · 2 comments
Open

Querying User-defined Field Types in Solr give KeyError #8

aehmohamed opened this issue May 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@aehmohamed
Copy link

Hi,
It seems there is an issue when a field that is not of a built-in type is being queried.
Error Message :
Error in SolrReflect.reflect_column_types
File "........./solr_reflect.py", line 62, in reflect_column_types
"type"
KeyError :

@aehmohamed
Copy link
Author

Within the same context, there are parsing errors when the field names have special characters.
Error :
Error while executing SQL "..............." Error parsing fieldname: Expected identifier at pos n.

@aadel aadel added the enhancement New feature or request label May 22, 2021
@aadel
Copy link
Owner

aadel commented May 22, 2021

It seems there is an issue when a field that is not of a built-in type is being queried.

Supporting user-defined field types is not currently supported, but it will probably in a future release.

Within the same context, there are parsing errors when the field names have special characters.
Error :
Error while executing SQL "..............." Error parsing fieldname: Expected identifier at pos n.

Column names which have special characters must be quoted in SQL, i.e. SELECT `field-one` FROM table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants