Problem: when we create table with datatype varchar(), we regard it to be max length by default. But when we desc, it does not show real length but show varchar() Reason: when we upgrade version from 2.0.1 to 2.0.2, we support new feature of creating varchar(), and it shows the same way with ddl schema. So user would confuse of the length of varchar Solved: change the showing of varchar() to varchar(65533), which in compatible with hive
15 lines
599 B
Plaintext
15 lines
599 B
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !sql --
|
|
test_materialized_view_hll DUP_KEYS record_id INT INT Yes true \N true
|
|
seller_id INT INT Yes true \N true
|
|
store_id INT INT Yes true \N true
|
|
sale_date DATE DATEV2 Yes false \N NONE true
|
|
sale_amt BIGINT BIGINT Yes false \N NONE true
|
|
|
|
amt_count AGG_KEYS mv_store_id INT INT Yes true \N true `store_id`
|
|
mva_HLL_UNION__hll_hash(CAST(`sale_amt` AS VARCHAR(65533))) HLL HLL No false \N HLL_UNION true hll_hash(CAST(`sale_amt` AS VARCHAR(65533)))
|
|
|
|
-- !sql --
|
|
1 1
|
|
|