yaooqinn opened a new pull request, #44493:
URL: https://github.com/apache/spark/pull/44493

   
   ### What changes were proposed in this pull request?
   
   Revert SPARK-43049 to use Oracle Varchar (255) for string for performance 
consideration
   
   ### Why are the changes needed?
   
   for performance consideration
   
   ### Does this PR introduce _any_ user-facing change?
   
   yes, storing strings in Oracle table, which is defined by spark DDL with 
string columns. Users will get an error if string values exceed 255
   
   ```java
   org.apache.spark.SparkRuntimeException: [EXCEED_LIMIT_LENGTH] Exceeds 
char/varchar type length limitation: 255. SQLSTATE: 54006
   [info]   at 
org.apache.spark.sql.errors.QueryExecutionErrors$.exceedMaxLimit(QueryExecutionErrors.scala:2512)
   ```
   
   ### How was this patch tested?
   
   revised unit tests
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   no
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to