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

add read only support for Delta table #13429

Closed
djouallah opened this issue Oct 24, 2023 · 8 comments
Closed

add read only support for Delta table #13429

djouallah opened this issue Oct 24, 2023 · 8 comments
Labels
C-feature Category: feature

Comments

@djouallah
Copy link

something like this will be nice

ctx_bend.sql(f"""CREATE view IF NOT EXISTS {tbl} AS SELECT * FROM 'fs:///Tables/{tbl}/' (pattern => '.*.Delta' ) """).collect()

@djouallah djouallah added the C-feature Category: feature label Oct 24, 2023
@BohuTANG
Copy link
Member

Yes, this needs add a delta format like parquet.

@djouallah
Copy link
Author

@BohuTANG does databend support scanning arrow dataset as an alternative ?

@BohuTANG
Copy link
Member

@BohuTANG does databend support scanning arrow dataset as an alternative ?

No, what's the use case under that?

@djouallah
Copy link
Author

djouallah commented Oct 25, 2023

this is how I am querying delta table using datafusion

import datafusion
from deltalake import DeltaTable
ctx = datafusion.SessionContext()
for tbl in ['nation','region','customer','supplier','lineitem','orders','partsupp','part'] :
 ctx.register_dataset(tbl, DeltaTable(f'{sf}/{tbl}').to_pyarrow_dataset())
datafusion=execute_query(ctx, sql)

@BohuTANG
Copy link
Member

The better way would be to natively support Delta using native-rs. We're mapping out plans for it.

@djouallah
Copy link
Author

any update on this ?

@sundy-li
Copy link
Member

@djouallah
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature
Projects
None yet
Development

No branches or pull requests

3 participants