You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-50529][SQL] Change char/varchar behavior under the spark.sql.preserveCharVarcharTypeInfo config
### What changes were proposed in this pull request?
This PR changes char/varchar behaviour under the `PRESERVE_CHAR_VARCHAR_TYPE_INFO` configuration flag, (exposed as `spark.sql.preserveCharVarcharTypeInfo`).
### Why are the changes needed?
This PR enables the improvement of char/varchar types in a backwards compatible way.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Added tests in:
- `RowEncoderSuite`
- `LiteralExpressionSuite`
- `CharVarcharTestSuite`
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#49128 from jovanm-db/char_varchar_conf.
Authored-by: Jovan Markovic <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments