[SPARK-34842][SQL][TESTS] Corrects the type of date_dim.d_quarter_name
in the TPCDS schema
### What changes were proposed in this pull request? SPARK-34842 (#31012) has a typo in the type of `date_dim.d_quarter_name` in the TPCDS schema (`TPCDSBase`). This PR replace `CHAR(1)` with `CHAR(6)`. This fix comes from p28 in [the TPCDS official doc](http://www.tpc.org/tpc_documents_current_versions/pdf/tpc-ds_v2.9.0.pdf). ### Why are the changes needed? Bugfix. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? N/A Closes #31943 from maropu/SPARK-34083-FOLLOWUP. Authored-by: Takeshi Yamamuro <yamamuro@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
This commit is contained in:
parent
760556a42f
commit
0494dc90af
|
@ -442,7 +442,7 @@ trait TPCDSBase extends SharedSparkSession {
|
|||
|`d_fy_quarter_seq` INT,
|
||||
|`d_fy_week_seq` INT,
|
||||
|`d_day_name` CHAR(9),
|
||||
|`d_quarter_name` CHAR(1),
|
||||
|`d_quarter_name` CHAR(6),
|
||||
|`d_holiday` CHAR(1),
|
||||
|`d_weekend` CHAR(1),
|
||||
|`d_following_holiday` CHAR(1),
|
||||
|
|
Loading…
Reference in a new issue