GitHub user CK50 opened a pull request:
https://github.com/apache/spark/pull/10003
[SPARK-12010][SQL] Spark JDBC requires support for column-name-free INSERT
syntax
This PR move the generation of the SQL Insert Statement into JdbcDialect
and allows dialects to add column names based on the RDD column names. The
default behaviour stays unchanged. Only for the new dialect
ProgressCassandraDialect column names will be inserted into the SQL Insert
Statement.
I was wondering whether the logic for inserting the column names should be
placed in some kind of generic Dialect instead of into the very specific
ProgressCassandraDialect. Any suggestions welcome.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CK50/spark master-SPARK-12010
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10003.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10003
----
commit f2bf6ee494b0640a9b1f8aa929325fdea3256932
Author: CK50 <[email protected]>
Date: 2015-11-26T12:22:43Z
Initial version
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]