Hello Druid Community, I am running Druid on an Op...
# troubleshooting
s
Hello Druid Community, I am running Druid on an Openshift cluster, and using the Druid Delta Lake extension(https://github.com/apache/druid/tree/master/extensions-contrib/druid-deltalake-extensions) to connect and load Delta tables. However, I am running into the following issue, • error while loading with delta connector: only 1024 records of each constituent parquet file is loaded • ◦ Update: The default result row limit for multi stage query using the Delta Lake extension is 1024. As the delta lake connection does not allow to edit the ingestion spec, looking for a solution to override the default Is this a known issue? Any help with a workaround would be highly appreciated
a
I'm not aware of this issue. Re:
• error while loading with delta connector: only 1024 records of each constituent parquet file is loaded
•
◦ Update: The default result row limit for multi stage query using the Delta Lake extension is 1024. As the delta lake connection does not allow to edit the ingestion spec, looking for a solution to override the default
are you saying that the delta extension is applying a default limit of 1024? Could you share a snippet of the query? Btw you should be able to edit/update the spec as needed
s
Hi @Abhishek Balaji Radhakrishnan, thank you for responding. Yes the delta extension is applying a default limit of 1024 records. We tried editing the spec on the Query Context. However that does not work
This is for all queries on delta tables, and not for any specific query
@Michael Samaras FYI, adding you to the chain
Hi @Abhishek Balaji Radhakrishnan, is there any alternative to override such a limit, apart from setting in the Query Context? Just for your reference, we have Druid running on Openshift and our delta tables are on a Dell Isilon storage
@Abhishek Balaji Radhakrishnan Perhaps I was missing one point, the limit of 1024 records is for each partition of the delta table. Also, I do get an error on the UI as soon as the load is over ERROR: Request failed with status code 404 Here is the query I am using to load, REPLACE INTO "table" OVERWRITE ALL WITH "ext" AS ( SELECT * FROM TABLE( EXTERN( '{"type":"delta","tablePath":"path"}', '{"type":"parquet"}' ) ) EXTEND ("col1" VARCHAR, "col2" VARCHAR, "col3" VARCHAR, "col4" BIGINT, "col5" VARCHAR, "col6" VARCHAR, "col7" BIGINT, "col8" VARCHAR, "col9" VARCHAR) ) SELECT MILLIS_TO_TIMESTAMP("dop" * 1000) AS "__time", "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8" FROM "ext" PARTITIONED BY DAY