[Bug]: DuckDB source errors with 'Error: Unsupported object type: null' then first row has NULL values #3044
Labels
bug
Something isn't working
customer request
An Evidence customer has requested this
to-review
Evidence team to review
Describe the bug
I'm running a DuckDB source. The query runs without issues in DuckDB. However, evidence returns the following error when running the source:
The source of the bug should be this function.
The expected behavior should be using the first non-null value in the column or using the native types that DuckDB sets for the column (like for other connectors).
Steps to Reproduce
Setup a duckdb source
test.sql
:The source should error with:
while the table is a viable duckdb table:
Logs
System Info
Severity
annoyance
Additional Information, or Workarounds
The only workaround I found is to manually set a placeholder for the
NULL
value (e.g.,-1
) and then replace it back to aNULL
after loading the data in evidence.The text was updated successfully, but these errors were encountered: