To specify the JDBC driver and other options, the using clause should be followed by the fully qualified name of the JDBC data source, which is org.apache.spark.sql.jdbc.
Answer A -
CREATE TABLE new_employees_table
USING JDBC
OPTIONS (
url "<jdbc_url>",
dbtable "<table_name>",
user '<username>',
password '<password>'
) AS
SELECT * FROM employees_table_vw
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
rafahb
Highly Voted 1 year, 7 months ago7082935
Most Recent 2 months, 4 weeks agoranjan24
4 months, 1 week agobenni_ale
7 months agoSerGrey
10 months, 3 weeks agoHuroye
1 year agochris_mach
1 year, 1 month agoKalavathiP
1 year, 2 months agojuliom6
1 year, 5 months agojuliom6
1 year, 5 months agoMajjjj
1 year, 6 months agoVarma_Saraswathula
1 year, 7 months agonaxacod574
1 year, 7 months agoXiltroX
1 year, 7 months agosdas1
1 year, 7 months agosurrabhi_4
1 year, 7 months agoknivesz
1 year, 7 months agoknivesz
1 year, 7 months ago