-
Notifications
You must be signed in to change notification settings - Fork 82
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
Can't query data from a CSV with empty fields #433
Comments
Let me check this out. |
The methods in the exception are the symptoms , underlying disease seems to be in the csv loader. Null handling cases might have been missed |
Polypheny-DB/plugins/csv-adapter/src/main/java/org/polypheny/db/adapter/csv/CsvEnumerator.java Line 308 in 5e3257e
Looks like instead of universally setting all null we need to initialize something else or allow null handling |
From DBMS perspective null shall be OK, so ig the way injection of null is happening into the database is troubling |
Filtering does not work on that too, we currently cannot sort based on such fields |
Interestingly this works |
The error message you provided is a stack trace that indicates an exception occurred in a software application. Here's a breakdown of the information provided:
Based on this information, it seems that the error originates from a web-based user interface (UI) component called "Crud" in the Polypheny-DB system. Polypheny-DB is a database management system, and the error occurred while executing a SQL select query. The cause of the exception appears to be a To further investigate and resolve the issue, it would be necessary to analyze the source code of the Polypheny-DB system, particularly the |
try: def executeSqlSelect(query): def processResult(result): def handleQueryExecutionException(exception): def logError(error): |
can you assign this issue for me @hennlo |
Hi @hennlo ,
|
Operating System (Polypheny-DB)
Windows
Polypheny-DB Version
0d7256f name:schema-integration
Affected Areas
DB
Browser
Chrome
Client Operating System
No response
Bug Description
When I load a CSV into Polypheny which has empty fields (not all values set), I can't query the respective columns.
After executing the steps from reproduction steps, I get a NullPointerException:
Reproduction Steps
Example: Use baeume as source csv.
baeume.csv
Then query on the console:
SELECT hoehe FROM public.baeume
Expected Behavior
Show the column that was queried
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: