Skip to content

Document CREATE EXTERNAL TABLE ... OPTIONS #10451

Open
@alamb

Description

@alamb

Is your feature request related to a problem or challenge?

While reviewing https://github.com/apache/datafusion/pull/10404/files I could not find documentation on what the syntax / available settings are for the OPTIONS clause

For example there are generic options like

CREATE EXTERNAL TABLE 
....
  OPTIONS(
    NULL_VALUE 'NAN',
  )

And then there are format specific options like (the newly added):

CREATE EXTERNAL TABLE 
....
  OPTIONS(
    NULL_VALUE 'NAN',
    'format.has_header' 'true'
  )

Neither appears to be documented

Describe the solution you'd like

It would be great (as another PR) if we can document them similarly to how @devinjdangelo documented the write options:

https://datafusion.apache.org/user-guide/sql/write_options.html#available-options

With a section for the generic options that apply to all formats and then a list of options for each specific format

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions