I have a file with id
and year
. My fields are separated by ,
and .
. Is there any chance I can in the place of fields terminated by can I use ,
and .
?
相关问题
- Spark on Yarn Container Failure
- enableHiveSupport throws error in java spark code
- spark select and add columns with alias
- Unable to generate jar file for Hadoop
-
hive: cast array
> into map
相关文章
- 在hive sql里怎么把"2020-10-26T08:41:19.000Z"这个字符串转换成年月日
- Java写文件至HDFS失败
- mapreduce count example
- SQL query Frequency Distribution matrix for produc
- Cloudera 5.6: Parquet does not support date. See H
- Could you give me any clue Why 'Cannot call me
- converting to timestamp with time zone failed on A
- Hive error: parseexception missing EOF
This is possible using RegexSerDe.
In the regex above three regex groups are defined.
See details here: https://community.hortonworks.com/articles/58591/using-regular-expressions-to-extract-fields-for-hi.html