CertSafari
    Snowflake SnowPro Core Certification (COF-C03)· Lessons

    Domain 3 · Lesson 12/19

    Snowflake drivers and connectors: JDBC, ODBC, Python, Kafka and Spark

    Identify the different Snowflake Connectors and integrations

    12 min read
    6% of exam
    9 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Pick the Snowflake driver that matches an application's language or connectivity standard
    • Explain what the Snowflake Connector for Python offers a Python script, including pandas support
    • Tell apart drivers, which you build your own applications on, from the Kafka and Spark connectors, which plug one external system into Snowflake
    • Choose between Snowpipe and Snowpipe Streaming for the Kafka connector with snowflake.ingestion.method
    • Describe how the Spark connector moves data and when query pushdown applies

    Key concept

    Clients call in, integrations reach out — Drivers and connectors are libraries that run outside Snowflake and open a connection into it. Integrations work the other way round: they are named objects inside Snowflake that let it reach cloud storage, HTTPS APIs or Git servers without anyone pasting credentials into a stage or a query.

    1.Snowflake drivers, one per language or standard

    A Snowflake driver is a library your own application uses to connect to Snowflake and run statements. Snowflake ships one for each major language or connectivity standard, so the choice usually comes down to what the application is written in, or which database API the tools around it already expect. A Python service uses the Python connector. A Node.js service uses the Node.js driver. A reporting tool that only speaks ODBC uses the ODBC driver.

    Snowflake drivers and what each connects
    DriverUse it when
    JDBC DriverA Java application, or any client tool that supports JDBC, needs to connect
    ODBC DriverThe client application is ODBC-based
    Snowflake Connector for PythonYou are writing Python applications that perform standard operations
    Go Snowflake DriverThe application is written in Go
    .NET DriverThe application is built on the Microsoft .NET framework
    Node.js DriverYou want a native asynchronous Node.js interface
    PHP PDO Driver for SnowflakeThe application is written in PHP

    JDBC is the broadest option for Java. The JDBC driver lets you connect from most client tools and applications that support JDBC, so a Java scheduler, IDE or BI tool that is already built on Java Database Connectivity can connect to Snowflake without custom code. The other drivers do not fill that role. The Node.js driver offers an asynchronous interface for JavaScript runtimes. The Go driver offers its own interface for Go programs. PHP PDO is PHP's own database abstraction layer. None of the three gives a Java tool the JDBC surface it expects.

    Every driver encrypts traffic with TLS. TLS 1.3 is supported everywhere except some .NET platforms, such as macOS before .NET 10. Two drivers, ODBC Driver 4.x and the Python connector, are now built on the Universal Core, a shared Rust library. A connection must also name the account it targets, in the format covered under Account identifiers. Unattended services should authenticate without a stored password, using one of the methods in Authentication: SSO/federated, MFA, OAuth, key-pair.

    Checkpoint 1 of 7· Match them up

    Match each client application to the Snowflake driver it should use

    Tap a term, then the definition that fits it.

    Checkpoint 2 of 7· Exam question

    A platform team is building a Java-based ETL scheduler that must connect to Snowflake through a broad set of existing client tools already standardized on a common database connectivity API. Which driver best fits this requirement?

    Sources1

    2.The Snowflake Connector for Python

    For Python code, the Python connector is the native choice. It does the same job as JDBC or ODBC, but you write Python instead of Java or C/C++. It follows the Python Database API v2 specification (PEP 249), so its objects are the ones Python developers already know. A Connection object opens the session, and a Cursor object runs DDL, DML and queries. You install it with pip on Linux, macOS or Windows, and it needs Python 3.11 or later. From version 5.0 the connector runs on the Universal Core, but the public module is still snowflake.connector.

    A typical data-science script runs parameterized SQL, pulls the results into pandas and closes the session at the end of a CI job. The connector supports this directly: it has documented pandas support, asynchronous I/O, and a SQLAlchemy toolkit. Wrapping the ODBC driver in a Python library adds a layer you don't need. Shelling out to SnowSQL from a script returns text, not DataFrames. To create databases, schemas, tables or warehouses from Python without writing SQL, use the separate Snowflake Python APIs.

    Checkpoint 3 of 7· Check yourself

    A nightly CI job in Python runs parameterized SQL against Snowflake. It loads the results into pandas DataFrames for analysis and closes the session when it finishes. What should the job use to talk to Snowflake?

    Checkpoint 4 of 7· Exam question

    A data science team writes Python automation scripts that run parameterized SQL, fetch results into pandas DataFrames, and manage sessions as part of a CI pipeline. Which connectivity option is purpose-built for this workflow?

    Sources2

    3.The Kafka connector: topics into tables

    Connectors are a separate group from drivers. A driver is something you build your own application on. A connector is software Snowflake provides to link Snowflake to one particular external system, and Snowflake ships two: one for Apache Kafka and one for Apache Spark. On an exam, if the question asks for a Snowflake-provided connector for a specific data source, the answer is one of these two, not JDBC, ODBC or the Python connector.

    The Kafka connector moves data in one direction only, from Kafka into Snowflake. It runs inside a Kafka Connect cluster, which is separate from the Kafka cluster itself. It reads one or more topics and writes the messages as rows into Snowflake tables. You can map topics to existing tables. An unmapped topic gets a new table named after the topic: the name is converted to uppercase, and illegal characters become underscores. By default each table has two VARIANT columns. RECORD_CONTENT holds the Kafka message, and RECORD_METADATA holds details such as the topic the message came from. Snowflake ships separate versions for Confluent and for open-source Apache Kafka, and recommends the v4 connector for new implementations.

    The connector has two ways to load: file-based Snowpipe or row-based Snowpipe Streaming. You choose with snowflake.ingestion.method in the connector properties file. SNOWPIPE is the default, and SNOWPIPE_STREAMING switches to streaming. In streaming mode the connector buffers records until a flush threshold (time, memory or message count) is reached, then writes the rows through the Snowpipe Streaming API. This gives lower latency and, for similar volumes, lower cost. Streaming needs Kafka connector version 2.0.0 or later. For when to use each path, see Snowpipe Streaming and choosing an ingestion path.

    Checkpoint 5 of 7· Check yourself

    Your team wants to move messages from several Apache Kafka topics into Snowflake tables. They want to use software that Snowflake provides for this, not code they write themselves. Which should they deploy?

    Checkpoint 6 of 7· Exam question

    Which of the following is a Snowflake-provided native connector for a specific data source, rather than a general-purpose driver library for building custom client applications?

    Sources3456

    4.The Spark connector: two-way DataFrame transfer

    The Spark connector makes Snowflake a Spark data source, alongside sources like PostgreSQL, HDFS or S3. It runs as a Spark plugin, ships as the spark-snowflake package, and moves data in both directions. You can fill a Spark DataFrame from a Snowflake table or query, and write a DataFrame back to a Snowflake table. The Spark cluster can be self-hosted or managed by a service such as AWS EMR or Databricks.

    The Spark connector runs on top of the JDBC driver; it does not replace it. You could connect Spark to Snowflake with a third-party JDBC driver alone. The connector adds two things that matter at scale: transfers optimized for large data volumes, and query pushdown. Pushdown, available from version 2.1.0, translates parts of a Spark logical plan into SQL that runs in Snowflake. Not everything can be pushed down. Spark UDFs, for example, always run in Spark. If you need every operation to run inside Snowflake, Snowflake suggests the Snowpark API instead.

    The connector moves data through one of two transfer modes. Internal transfer uses a temporary stage that the connector creates when the session starts and drops when it ends. It is the recommended default. Its temporary credentials expire after 36 hours, so use external transfer to a storage location you manage for transfers that may run longer, or on connector versions 2.1.x and earlier. External transfer has a cleanup cost: the connector does not delete its files, so you remove them manually, set the connector's purge parameter, or add a storage lifecycle policy.

    Checkpoint 7 of 7· Check yourself

    Spark jobs on a Databricks cluster need to load Snowflake tables into DataFrames and write transformed DataFrames back to Snowflake. The jobs handle large volumes, so filters should run inside Snowflake where possible. The team wants Snowflake-provided software for this. What should they use?

    Sources78

    Sources

    (9)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “Connect to Snowflake from most client tools/applications that support JDBC.”
      ↩︎ Snowflake drivers, one per language or standard
      “Connect to Snowflake with a native asynchronous Node.js interface.”
      ↩︎ Snowflake drivers, one per language or standard
      “All Snowflake drivers support TLS to secure communications between the client and the Snowflake service.”
      ↩︎ Snowflake drivers, one per language or standard
      “Both are built on the Universal Core, a shared Rust library.”
      ↩︎ Snowflake drivers, one per language or standard
      “Using languages such as Go, C#, JavaScript, and Python, you can write applications that perform operations on Snowflake.”
      ↩︎ Prediction
    2. 2.
      “Cursor objects for executing DDL/DML statements and queries.”
      ↩︎ The Snowflake Connector for Python
      “It can be installed using pip on Linux, macOS, and Windows where Python 3.11 or later is installed.”
      ↩︎ The Snowflake Connector for Python
      “Using Pandas with the Python Connector”
      ↩︎ The Snowflake Connector for Python
      “It provides a programming alternative to developing applications in Java or C/C++ using the Snowflake JDBC or ODBC drivers.”
      ↩︎ Exam trap 1
    3. 3.
      “See Drivers and Using Snowflake with Kafka and Spark for documentation for the drivers and connectors, respectively.”
      ↩︎ The Kafka connector: topics into tables
      “See Drivers and Using Snowflake with Kafka and Spark for documentation for the drivers and connectors, respectively.”
      ↩︎ Checkpoint
    4. 4.
      “reads data from one or more Apache Kafka topics and loads the data into a Snowflake table.”
      ↩︎ The Kafka connector: topics into tables
    5. 5.
      “designed to run in a Kafka Connect cluster to read data from Kafka topics and write the data into Snowflake tables”
      ↩︎ The Kafka connector: topics into tables
      “If the topics are not mapped, then the Kafka connector creates a new table for each topic using the topic name.”
      ↩︎ The Kafka connector: topics into tables
      “every Snowflake table loaded by the Kafka connector has a schema consisting of two VARIANT columns”
      ↩︎ The Kafka connector: topics into tables
    6. 6.
      “SNOWPIPE_STREAMING SNOWPIPE (default)”
      ↩︎ The Kafka connector: topics into tables
      “Version 2.0.0 (or later) of the Kafka connector is required for use with Snowpipe Streaming Classic.”
      ↩︎ The Kafka connector: topics into tables
      “For new implementations, Snowflake recommends the Snowflake Connector for Kafka (v4)”
      ↩︎ The Kafka connector: topics into tables
      “Specifies whether to use Snowpipe Streaming or standard Snowpipe to load your Kafka topic data.”
      ↩︎ Exam trap 2
    7. 7.
      “The connector runs as a Spark plugin and is provided as a Spark package (spark-snowflake).”
      ↩︎ The Spark connector: two-way DataFrame transfer
    8. 8.
      “The connector supports bi-directional data movement between a Snowflake cluster and a Spark cluster.”
      ↩︎ The Spark connector: two-way DataFrame transfer
      “uses the Snowflake JDBC driver to communicate with Snowflake.”
      ↩︎ The Spark connector: two-way DataFrame transfer
      “Spark UDFs cannot be pushed down to Snowflake.”
      ↩︎ The Spark connector: two-way DataFrame transfer
      “internal transfer uses temporary credentials that expire after 36 hours”
      ↩︎ The Spark connector: two-way DataFrame transfer
      “the connector does not automatically delete the files from the storage location.”
      ↩︎ The Spark connector: two-way DataFrame transfer
      “The Snowflake Connector for Spark is not strictly required to connect Snowflake and Apache Spark; other 3rd-party JDBC drivers can be used.”
      ↩︎ Exam trap 3

    Also cited

    Continue to part 2 of 2

    Storage, API and Git integrations in Snowflake

    Spotted a mistake, or was something unclear? Tell us.