Revision 006e838edebc62ba8a4398dde1b5720b72227c41 authored by Gengliang Wang on 09 March 2023, 03:30:09 UTC, committed by Gengliang Wang on 09 March 2023, 03:30:25 UTC
### What changes were proposed in this pull request?

Support parsing `timestamp_ltz` as `TimestampType` in schema JSON string.
It also add tests for both parsing JSON/DDL for "timestamp_ltz" and "timestamp_ntz"

### Why are the changes needed?

`timestamp_ltz` becomes an alias for TimestampType since Spark 3.4

### Does this PR introduce _any_ user-facing change?

No, the new keyword is not released yet.
### How was this patch tested?

New UT

Closes #40345 from gengliangwang/parseJson.

Authored-by: Gengliang Wang <gengliang@apache.org>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
(cherry picked from commit c4756edde5d71fa6fcb071a071c93c4ca4b5a37a)
Signed-off-by: Gengliang Wang <gengliang@apache.org>
1 parent fc29b07
History

README.md

back to top