Help Center/ Data Lake Insight/ FAQs/ Spark Jobs/ Spark Job O&M/ Why Does Using DataSource Syntax to Create an OBS Table of Avro Type Fail When Accessing Metadata With Spark 2.3.x?
Updated on 2024-11-15 GMT+08:00

Why Does Using DataSource Syntax to Create an OBS Table of Avro Type Fail When Accessing Metadata With Spark 2.3.x?

Symptom

I failed to use the DataSource syntax to create an OBS table in Avro format when selecting Spark to access metadata.

Figure 1 Failed to create an OBS table in Avro format

Possible Causes

Spark 2.3.x does not support creating OBS tables in Avro format.

Solution

When using the DataSource syntax to create an OBS table in Avro format, select Spark 2.4.x or later.