YLL是什么意思在线翻译读音例句-同位语


2023年3月29日发(作者:布兰妮什么歌好听)

spark不⽀持hive表分区字段中存在⼤写字母

建表语句:

_jd_intransit_detail;

_jd_intransit_detail(

DataLablestring,

DocumentNumberstring,

CurrentRecordNumberint,

VendorProductIDstring,

Bu待组词词语 yerProductIDstring,

ProductCodestring,

ProductNamestring,

ListPricedouble,

Quantityint,

ReceivingQuantityint,

DamagedQuantityint,

RefuseQuantityint,

PurchasedBystring,

CostPricedouble,

Discountdouble,

PackageNumberstring,

ErrorReasonstring,

Comme峥嵘岁月什么意思 ntsstring,

InsertDatetimestamp

)

PARTITIONEDBY(InsertDate_monthstring柳永最出名的一首诗 )

STOREDASPARQUET;

插⼊语句:

RegexColumnNames=true;

_jd_intransit_detailPARTITION(InsertDate_m夏天赏荷花的诗词 onth)

SELECT`(load_ts|load_date|rk)?+.+`,DATE_FORMAT(In初冬雪中悍刀行 sertDate,\'yyyy-MM\')asInsertDate_month

FROM

(

SELECT*,RANK()OVER(ORDERBYload_tsDESC)ASrk

_jd_intransit_detail

WHEREload_date=\'@src_partition_date@\'

)

WHERErk=1;

报错:

说我的分区字段是insertdate_month和InsertDate_month,其中包含⾮分区字段。

那insertdate_month应贺铸 该是⾮分区字段,可insertdate_month是从哪来的呢?

删除表再重建,仍然报这个错误。

那既然如此,我改InsertDate_month还不⾏温庭筠 吗?

于是修改建表语句和插⼊语句中的InsertDate_month为insertDate_month

报错

证明⼀点,insertdate_month才是表的分区字段,我真真切切写在建表语句和插⼊语句中的InsertDate_month竟然成了⾮法分区字

段?!

好吧,那依你。将建表语句和插⼊语句中的In一天内4位院士离世 sertDate_month修改为insertdate_month,插⼊成功。

思考:难道分区字段不⽀持⼤写字母?

经过验证,貌似spark真的不⽀持hive中⼤写的分区字段,spark会⾃动把⼤写字母转换成⼩写,但是hive本⾝是⽀持的。

更多推荐

spark是什么意思rk在线翻译读音例句