Re: Can we upload a csv dataset into Hive using SparkSQL?

2022-12-13 Thread Artemis User
Your DDL statement doesn't look right.  You may want to check the Spark SQL Reference online for how to create table in Hive format (https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-create-table-hiveformat.html). You should be able to populate the table directly using CREATE by

Can we upload a csv dataset into Hive using SparkSQL?

2022-12-10 Thread sam smith
Hello, I want to create a table in Hive and then load a CSV file content into it all by means of Spark SQL. I saw in the docs the example with the .txt file BUT can we do instead something like the following to accomplish what i want? : String warehouseLocation = new