spark-xml icon indicating copy to clipboard operation
spark-xml copied to clipboard

I create a spark datasource table, but failed

Open MyqueWooMiddo opened this issue 1 year ago • 0 comments

I try to create a spark datasource table, specify options (rowTag "xxx" , path "hdfs://xxx.xml") but it told me the table is an external table should not create in /user/hive/warehouse/ then I try to specify location to the DDL , it told me options(path) and location were confilcts

I modified options rename 'path' to 'xmlpath' in source file 'src/main/scala/com/databricks/spark/xml/DefaultSource.scala' , re-compile the code then I create a table options (rowTag "xxx" , xmlpath "hdfs://xxx.xml") , it worked

MyqueWooMiddo avatar Aug 22 '24 01:08 MyqueWooMiddo