[
https://issues.apache.org/jira/browse/SPARK-32405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169041#comment-17169041
]
Huaxin Gao commented on SPARK-32405:
------------------------------------
[~maxgekk] Hi Max, could you please explain what these table options are? I
initially thought you mean createTableOptions, but createTableOptions is
appended to the create table stmt and no need to generate in `JdbcDialect`.
{code:java}
val sql = s"CREATE TABLE $tableName ($strSchema) $createTableOptions"
statement.executeUpdate(sql)
{code}
I guess you mean something else? Could you please give me an example? Thanks!
> Apply table options while creating tables in JDBC Table Catalog
> ---------------------------------------------------------------
>
> Key: SPARK-32405
> URL: https://issues.apache.org/jira/browse/SPARK-32405
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Maxim Gekk
> Priority: Major
>
> We need to add an API to `JdbcDialect` to generate the SQL statement to
> specify table options.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]