数据写入因为汉字引发的异常
spark 数据写hive表,发生 查询分区异常问题
异常:
25107124 19 26.49 ERROR Hive: MelaException(message.Exception thrown when execuling quey. S
ELECT DISTINCT ‘org apache.hadop.hive melastore .modelMpartion As"NUCLEUS TYPE,AONCREATE TIME,AO.LAST ACCESS TIME,AO PART NAME,AO.WRITE ID ,AO PART ID FROM PARTITONS AO LEFT OUTERJOIN TBLS BO ON AO TBL ID’BO.TBL ID’LEFTOUTER JOIN"DBS CO ON BO.DB ID’=CO DB ID" WHERF BO.TBL NAME =?AND’CO.NAME’ =?AND 'AO.PART NAME =?AND CO.CTLG NAME
?)i resulgetpartitionwithauthresultStandardScheme.read(ThnftHiveMetastorejava)125184.atorg.apache.hadoophivemetastoreapiThriftHiveMetastoreget partition with_auth resultStandardScheme.read(ThnftHiveMetastore java)125184. at org. apache.hadoop hive metastore api ThriftHiveMetastoregetpartitionwithauthresultStandard