-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
druid-deltalake-extensions support for StructType #16782
Comments
Feature initially introduced in #15755. @abhishekrb19, I appreciate a lot your work and would appreciate even more your kind response. |
Hi @Donutellko, thanks for reporting. IIRC struct and array types weren't fully supported with the upstream Delta Kernel library in 3.0.0 when the extension was originally written. Now that we use Kernel 3.2.0, it seems that support has been added. I will look into adding it in the Druid connector. Re the expected behavior you note:
I think the Delta input source should just write structs as json and arrays as arrays. For structs, if a user wants to flatten the fields or extract/transform specific fields present in the struct, it should still be possible to do so using the SQL JSON functions that can be used at ingest and/or query time . For example, Does that sound good to you? |
Thank you for your response @abhishekrb19.
Yes, that sounds good. Could you provide any ETA for the implementation? |
@Donutellko the fix was merged in #16884. It will be available in the next release, Druid 31.0.0. |
Description
Hello, we are trying to load data from a DeltaTable, and facing an issue with StructType (manually formatted error message, full stack trace in the attachments: druid-delta-unsupported-StructType.log ):
Using
apache/druid:30.0.0
Expected behavior:
MetaData.FieldOne
,MetaData.FieldTwo
, ...;Motivation
.select(col("MetaData.FieldOne"))
. Supporting loading this data seems indispensable for a common use of druid-delta-extensions.The text was updated successfully, but these errors were encountered: