Amit created SPARK-10756:
----------------------------
Summary: DataFrame write to teradata using jdbc not working, tries
to create table each time irrespective of table existence
Key: SPARK-10756
URL: https://issues.apache.org/jira/browse/SPARK-10756
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.5.0
Reporter: Amit
DataFrame write to teradata using jdbc not working, tries to create table each
time irrespective of table existence.
Whenever it goes to persist dataframe it checks for the table existence by
using query "SELECT 1 FROM $table LIMIT 1" and the keyword limit is not
supported in teradata. So the exception thrown by teradata for keyword is
understood as exception for table not exist in Spark and then Spark runs the
create table command irrespective of table was present.
So Create table command execution fails with the exception of table already
exist hence saving of data frame fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]