matthewmturner opened a new issue #2025:
URL: https://github.com/apache/arrow-datafusion/issues/2025


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   
   I would like to be able to register a delta lake deltatable as a table from 
SQL as part of working on 
[datafusion-tui](https://github.com/matthewmturner/datafusion-tui).  For 
example:
   
   ```
   CREATE EXTERNAL TABLE dt
   STORED AS DELTATABLE
   LOCATION 's3://bucket/schema/table'
   ```
   
   From what ive seen this would require adding a `FileType` and `FileFormat` 
for `deltatable` under `deltalake` feature, similar to how there is `avro` 
feature.
   
   While I understand a delta table isnt exactly a file type / format - i think 
for the purposes of what were doing with those it meets the definition.  Ive 
played with querying delta tables before and they use `register_table` as 
opposed to `register_listing_table`.  So i think we would just need to match 
based on `FileType` and then for delta table use `register_table` instead.
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   Enable deltatable `FileFormat` and `FileType` as features under `deltalake`
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features 
you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to