spark-xml
spark-xml copied to clipboard
I create a spark datasource table, but failed
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