suryanshagnihotri commented on pull request #26619:
URL: https://github.com/apache/spark/pull/26619#issuecomment-860671204


   @dongjoon-hyun I get this exception when i try to insert data into table. I 
checked that spark_home/jars contain only hive 2.3.7 jars hence we are getting 
this exception.
   
   query which does not work
   ```
   CREATE TABLE students (id int, name string, marks int);
   INSERT INTO students VALUES
   (1, 'Jerry', 50);
   ```
   
   
   I also noticed that when i make table as acid then it works.
   ```
   CREATE TABLE students (id int, name string, marks int)
       STORED AS ORC TBLPROPERTIES ('transactional' = 'true');
   INSERT INTO students VALUES
   (1, 'Jerry', 50);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to