forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-43049][SQL] Use CLOB instead of VARCHAR(255) for StringType fo…
…r Oracle JDBC ### What changes were proposed in this pull request? Use CLOB instead of VARCHAR(255) for StringType for Oracle JDBC ### Why are the changes needed? - Fix insufficient length issue when storing a spark string to oracle. - Make room for Spark VarcharType mapping ### Does this PR introduce _any_ user-facing change? yes, Using APIs, such as DDL and `df.write.jdbc`, with oracle to store string will result in CLOB columns. ### How was this patch tested? new tests. Closes apache#40683 from yaooqinn/SPARK-43049. Authored-by: Kent Yao <yao@apache.org> Signed-off-by: Kent Yao <yao@apache.org>
- Loading branch information
Showing
4 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters