Skip to content

Allow additional options when creating an external table #4125

@timvw

Description

@timvw

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
CREATE EXTERNAL TABLE should allow for custom (table type specific options).

Eg: For CSV the has_header and delimiter option are available but it's not possible to add custom options but it's not possible to specify the timestamp for loading a delta/iceberg table.

In spark this is possible via the generic OPTIONS parameter.

Describe the solution you'd like
Extend datafusion such that these options can be provided

CREATE EXTERNAL TABLE magic 
STORED AS DELTALAKE 
OPTIONS ( at='1667827882' )
LOCATION 's3://mybucket/magic'

Describe alternatives you've considered
We could not support this

Additional context
Relates to #3867

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions