Closed Mourya1319 closed 6 months ago
@Mourya1319 As of now, Hudi is relying on Avro serialization framework only. Not sure if this can be supported. cc @danny0405
Thanks for the reply!. So, there is no other way that we can have a column starting with numbers in Hudi @ad1happy2go ?
It is feasible if the column data type is specified as numeric or string, what is the data type then?
It is String @danny0405
Then it should be okay, as long as there is no un-printable chars.
@danny0405 , In the above image, the query failed to create a Hudi table. And the error Illegal initial character:360p
is because the column started with a number 3
.
This query: create table if not exists db3_hudi.sample(id int, a360p string, a720p string) using hudi
, actually created a Hudi table without any error.
So, My understanding is that since the column names didn't start with a number, this query was able to create a table.
I wanted to know if I am doing in the wrong way or is there any other way that can help me create a Hudi table with columns starting with a digit, kindly let me know.
Feel free to correct me If I am wrong.
@danny0405 Actually the issue is not in the values but the column name itself.
@Mourya1319 You are correct, Hudi doesn't support column names starting with integer as avro schema validation will fail for this.
Thanks @ad1happy2go @danny0405 for the support!
@Mourya1319 Closing this then. Please reopen in case of any concerns. Thanks.
I am trying to create a hudi table that has a column starting with numbers/digits. Getting the below error.
Steps to reproduce the behavior:
Expected behavior
Create a hudi table at specified location.
Environment Description
Hudi version : 0.14.1
Spark version : 3.4.1
Hive version : 3.1.3
Hadoop version : 3.3.6
Running on Docker? (yes/no) : no
Additional context
Add any other context about the problem here.
Stacktrace