使用spark-shell加载数据
carbon.sql("load data inpath '/test/part-r-00023.gz' into table log_t options('DELIMITER'=',','MULTILINE'='true','SKIP_EMPTY_LINE'='TRUE','SINGLE_PASS'='TRUE','header'='false','fileheader'='ip,endtime,tingliu_time,deal_ip,jsonstring')")
报如下的错误,说超过最大字符串
org.apache.carbondata.processing.loading.exception.CarbonDataLoadingException: Length of parsed input (32001) exceeds the maximum number of characters defined in your parser settings (32000).
|