• Create
    • Ask a question
    • Create an article
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Home /
avatar image
0

Can't read SQL Server table using JDBC, couldn't find function "read.jdbc"

sqlrjdbc
Question by Emilio Sanchez Olivares · Apr 09 at 12:58 AM ·

I'm trying to read a table from SQL Server but I get the following error:

Error in read.jdbc("jdbc:sqlserver://serverurl",  : 
  could not find function "read.jdbc"

Add comment
Comment
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Answers

Sort

  • Votes
  • Created
  • Oldest
avatar image
0

Answer by Adrian Ionescu · May 20 at 12:45 PM

try

spark.read.jdbc(...)

Comment
Add comment · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by alexw · May 21 at 07:58 AM

spark.read.jdbc(...)

torrent sites

Comment
Add comment · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is there an example available of using the DataFrameReader.jdbc() method (pyspark) with the predicates option? 3 Answers

Can I connect to a MS SQL server table in Databricks account? 4 Answers

JDBC/ODBC Connections - Open port 10000 for IP in the VPC security group protecting the Driver node 2 Answers

Connecting to Sql Server JDBC using R in Databricks 3 Answers

How does the JDBC ODBC Thrift Server stream query results back to the client? 4 Answers

  • Product
    • Databricks Cloud
    • FAQ
  • Spark
    • About Spark
    • Developer Resources
    • Community + Events
  • Services
    • Certification
    • Spark Support
    • Spark Training
  • Company
    • About Us
    • Team
    • News
    • Contact
  • Careers
  • Blog

Databricks Inc.
160 Spear Street, 13th Floor
San Francisco, CA 94105

info@databricks.com
1-866-330-0121

  • Twitter
  • LinkedIn
  • Facebook
  • Facebook

© Databricks 2015. All rights reserved. Apache Spark and the Apache Spark Logo are trademarks of the Apache Software Foundation.

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges