I am using HDP 2.4.2 I want to connect Spark with HAWQ for data ingestion.
Please let me know if there is any recommended/correct approach, currently I am using postgress jdbc driver for connecting spark with HAWQ. I am facing issues like
-DataFrame creates table automatically in HAWQ if table is not present.
-Records ingestion is too slow.
-Intermittently is showing errors such as "org.postgresql.util.PSQLException: ERROR: relation "table_name" already exists"
.