I\'m trying to run an insert statement with my HiveContext, like this:
hiveContext.sql(\'insert into my_table (id, score) values (1, 10)\')
Th
try this hiveContext.sql("insert into table my_table select 1, 10") if you haven't change your dynamic partition mode to nonstrict, you have to do this hiveCtx.setConf("hive.exec.dynamic.partition.mode", "nonstrict")
hiveContext.sql("insert into table my_table select 1, 10")
hiveCtx.setConf("hive.exec.dynamic.partition.mode", "nonstrict")