CertSafari
    Snowflake SnowPro Advanced: Architect (ARA-C01)· Lessons

    Domain 3 · Lesson 10/13

    Snowflake ecosystem tools: connectors, drivers, APIs and Snowpark

    Outline key tools in Snowflake’s ecosystem and how they interact with Snowflake.

    22 min read
    8.33% of exam
    15 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Explain which objects the Kafka connector creates per topic and partition, and choose between its file-staging and Snowpipe Streaming modes
    • Describe how the Spark connector reads and writes Snowflake data and when query pushdown falls back to Spark
    • Tell native SaaS connectors such as ServiceNow and Google Analytics apart from drivers and processing frameworks
    • Choose between the Python connector, JDBC, ODBC and the SQL API for an application, including how the SQL API authenticates
    • Explain why Snowflake CLI is preferred over SnowSQL and how Snowpark DataFrames run on Snowflake compute
    • Use SYSTEM$ALLOWLIST to find the hosts and ports a client firewall must allow

    Key concept

    Client-side entry point, Snowflake-side execution — Every tool in the ecosystem runs outside Snowflake, in a Kafka Connect cluster, a Spark job, an application or a terminal, but the work it hands off becomes SQL or ingestion calls that run on Snowflake. To choose a tool, ask where the data comes from and how much of the processing you want Snowflake to do.

    1.Kafka connector: how topics become tables

    Snowflake's ecosystem tools fall into three families. Connectors move data in from another system. Drivers and APIs let applications send SQL. Snowpark moves your processing code onto Snowflake compute. Architect questions usually come down to picking the right family, and the Kafka connector shows the first family clearly. The Snowflake Connector for Kafka reads records from one or more Apache Kafka topics and loads them into Snowflake tables. It runs inside your Kafka Connect deployment, not inside Snowflake, and its settings come from its own configuration: it subscribes to topics based on the configuration information you supply in the Kafka configuration file or on the command line.

    Producers publish JSON or Avro records to the Kafka cluster, and Kafka splits each topic into one or more partitions. That partitioning matters, because the connector provisions Snowflake objects to match it.

    In its default mode, the connector creates three kinds of object for every topic it subscribes to:

    • One internal stage per topic, which holds data files temporarily.
    • One pipe per topic partition, which ingests those files.
    • One table per topic, which receives the rows.

    The target table can already exist. If it does, the connector does not replace it. Instead it adds the RECORD_CONTENT and RECORD_METADATA columns and checks that every other column is nullable. If a non-nullable column is present, the connector raises an error. A pre-built table with a NOT NULL business column is therefore a common reason a new deployment fails on its first run. Each Kafka message lands as content plus metadata, so teams often flatten those columns into separate tables that are easier to query.

    The default flow uses files. The connector buffers messages, and when a time, memory or message-count threshold is reached it writes them to a temporary file in the internal stage. The partition's pipe then loads that file. This is Snowpipe under the hood, so latency depends on how often the buffer flushes and how quickly the pipe ingests.

    Checkpoint 1 of 11· Check yourself

    A team points the Kafka connector at a table they built by hand. It has an order_id column declared NOT NULL and no default. What happens when the connector starts?

    Sources12

    2.Snowpipe Streaming mode for seconds-level latency

    The Kafka connector can skip files completely. In Snowpipe Streaming mode it still buffers messages until a time, memory or message-count threshold is reached. At that point, though, it calls the Snowpipe Streaming API and writes rows straight into the target tables, with no temporary files in a stage. Snowflake reports that this gives lower load latency and lower cost for the same data volume. You select the mode with the snowflake.ingestion.method setting in the connector's properties file. Connector version 2.0.0 or later is required, and for new implementations Snowflake recommends connector v4, which uses the high-performance streaming architecture natively.

    Kafka connector ingestion modes
    AspectDefault (file-staging) modeSnowpipe Streaming mode
    What happens at the flush thresholdMessages are written to a temporary file in the topic's internal stageThe connector calls the Snowpipe Streaming API to write rows
    Staged filesYes, one internal stage per topicNo, rows go directly into target tables
    Ingestion objectOne pipe per topic partitionSnowpipe Streaming API
    Latency and costBounded by file flush plus pipe loadLower load latency and lower cost for similar volumes

    Take a requirement like "events in Snowflake within seconds, no staged files, and we already run Kafka Connect". That points to the Kafka connector in streaming mode. Other options sound plausible but fall short. The default mode stages files by design. A JDBC driver is a client library for running SQL from an application. It does not consume Kafka topics, and inserting one row per message is not an ingestion pipeline. A Spark job that writes micro-batches every few minutes adds a second cluster and still misses the seconds-level target.

    Checkpoint 2 of 11· Check yourself

    Which connector property chooses between standard Snowpipe and Snowpipe Streaming for loading Kafka topic data?

    Sources3

    3.Spark connector: reading, writing and query pushdown

    The Snowflake Connector for Spark makes Snowflake one more Spark data source. It works in both directions. A Spark job can fill a DataFrame from a Snowflake table, join it with data already cached in Spark, and write the result back to a Snowflake table, all through the same connector, without a manual export and COPY INTO. The connector runs as a Spark plugin and is shipped as the spark-snowflake package. Connector 2.x has a separate build for each Spark version, so you must match it to your Spark version. A single Connector 3.x package supports most Spark versions, from 3.2 through 4.1.

    Pushdown decides where the work runs. The connector inspects the Spark logical plan for SQL operations, translates what it can into a SQL query, and runs that query in Snowflake. Filters and aggregations then execute on a Snowflake virtual warehouse, before any rows travel to Spark. That is why Snowflake compute still takes part even when Spark drives the job. Translation must be close to one-to-one between Spark operators and Snowflake expressions, so not every operator can be pushed down. When pushdown fails, the connector falls back to a less-optimized plan and Spark runs the unsupported operations itself.

    If you need every operation pushed down, Snowflake suggests writing the code with the Snowpark API instead of the connector.

    Snowpark Connect for Spark is the other alternative. Your Spark code runs on a local machine or in a Snowflake Notebook, and Snowpark Connect translates its DataFrame operations into SQL that a Snowflake warehouse executes, so the warehouse handles all compute. It fits existing Spark DataFrame code that you want running on Snowflake compute, where the connector would run unsupported operators back in Spark.

    Governed Iceberg tables set a minimum connector version. Apache Iceberg is an open table format, and Spark can query Iceberg tables through Snowflake Horizon Catalog. When row access or data masking policies are configured on those tables, you must install connector 3.1.6 or later to enable their enforcement: the connector connects Spark to Snowflake so that Snowflake evaluates the policies. Check the connector version before pointing Spark at protected Iceberg tables.

    Checkpoint 3 of 11· Check yourself

    A Spark plan contains an operator the Snowflake connector cannot translate into a Snowflake expression. What does the connector do?

    Sources456

    4.Native connectors for SaaS sources: ServiceNow and Google Analytics

    A connector, in Snowflake's terms, is an application that moves data from an external source system into Snowflake. A native connector is a connector built and deployed with the Snowflake Native App Framework, so it installs and runs as an app inside your account. You do not host it on infrastructure you manage. The Snowflake Connector for ServiceNow and the Snowflake Connector for Google Analytics are Snowflake-provided connectors of this kind. They pull data from those SaaS platforms into Snowflake tables, so no custom extraction code or separate integration server is needed.

    These connectors pull data: the connector fetches it from the provider, rather than the source pushing it in. That puts them in a different category from the other tools here. JDBC, ODBC and the Python connector are generic connectivity drivers that run SQL for any application. Spark and Snowpark are processing frameworks. The Kafka connector also ingests data, but it runs in your Kafka Connect cluster rather than as a Snowflake Native App. When a requirement says "bring ServiceNow incident data or Google Analytics data into Snowflake with a Snowflake-provided connector", the answer is the native connector, not a driver or a framework.

    Checkpoint 4 of 11· Check yourself

    What makes the ServiceNow connector a native connector, as opposed to the Kafka connector?

    Sources7

    5.Python connector, JDBC and ODBC: which driver for which application

    Drivers are how ordinary applications send SQL to Snowflake. Choose by the application's language and by what the tool already supports. The Snowflake Connector for Python implements the Python Database API v2 (PEP 249). You open a Connection object and execute DDL, DML and queries through Cursor objects. It is the Python alternative to building in Java or C/C++ with the JDBC or ODBC drivers. From version 5.0 it is built on the Universal Core and installs with pip on Linux, macOS and Windows with Python 3.11 or later.

    The JDBC driver is a type 4 driver for Java applications and for any tool that connects to databases over JDBC. It needs a 64-bit environment and a Java LTS version of 1.8 or higher. The ODBC driver serves ODBC-based client applications. From 4.0.0 it is built on the Universal Core, and its public ODBC interface is unchanged. File transfer depends on the ODBC driver version: GET and PUT need 2.17.5 or later on AWS, 2.20.2 on Azure and 2.21.5 on Google Cloud. An old ODBC driver behind a BI tool is a common reason PUT fails.

    Choosing a Snowflake driver
    DriverTypical clientNotable requirement
    Snowflake Connector for PythonPython applications using PEP 249 Connection and Cursor objectsPython 3.11 or later for version 5.0, which is built on the Universal Core
    JDBC driverJava applications and JDBC-capable tools64-bit environment, Java LTS 1.8 or higher
    ODBC driverODBC-based client applicationsVersion 4.x built on the Universal Core; GET and PUT support depends on driver version per cloud

    Checkpoint 5 of 11· Match them up

    Match each driver to the client it serves.

    Tap a term, then the definition that fits it.

    Sources89

    6.SQL API: running statements over REST

    The Snowflake SQL API is a REST API, so a client needs only HTTP, with no driver to install. That suits serverless functions, integration platforms and languages that have no Snowflake driver. It runs standard queries and most DDL and DML, which is enough to provision users and roles or create tables. A short list of statement types is not supported.

    The API is built around asynchronous execution. You submit one or more SQL statements and get a handle back. You then check the statement's status, fetch results once it completes, or cancel it. A single request can carry several statements, an explicit transaction, or the body of a stored procedure. Because the client polls and does not hold a session open, it works well for long-running statements called from short-lived callers.

    Authentication is narrower than with drivers. The SQL API accepts OAuth or key-pair authentication. If an integration was planned around a user name and password, it needs one of those two instead. How each method works is covered in Authentication methods: SSO/federated, MFA, OAuth, key-pair. Here, the design decision is only which of the two the calling service can obtain.

    Checkpoint 6 of 11· Check yourself

    An integration platform will call Snowflake over HTTPS with no driver installed. Which authentication does the SQL API support for it?

    Sources10

    7.Snowflake CLI and SnowSQL

    SnowSQL is the legacy command-line client. Snowflake CLI (snow) is preferred for new installs, and all new features go to it. SnowSQL still runs SQL queries and all DDL and DML, including loading and unloading data. It can run as an interactive shell or in batch mode, reading from stdin or from a file passed with -f. Its support is time-boxed by minor version: 1.5.x is supported through April 16, 2028, and earlier minor versions end sooner (1.3.x on May 2, 2026). Teams that already use SnowSQL have a documented migration path to Snowflake CLI.

    SnowSQL is built on the Snowflake Connector for Python, but you do not need to install that connector first: the SnowSQL installers bundle everything they need. Snowflake CLI adds commands that SnowSQL lacks, such as snow connection test for checking connectivity. That test only checks the network path from the machine where it runs. A passing test on a laptop says nothing about whether Spark worker nodes can reach Snowflake.

    Checkpoint 7 of 11· Check yourself

    snow connection test succeeds on an engineer's laptop. What can you conclude about a Spark cluster in another network?

    Sources116

    8.Snowpark: DataFrames that run on Snowflake compute

    Snowpark puts your transformation logic inside Snowflake instead of pulling data out to process it. Libraries for Python, Scala and Java expose a DataFrame API. The DataFrame is the core abstraction: you describe the columns, filters and joins you want, and nothing is retrieved while you build it.

    Building a Snowpark DataFrame in Python; no data moves until an action such as show() runspython
    >>> # Import the col function from the functions module.
    >>> from snowflake.snowpark.functions import col
    
    >>> # Create a DataFrame that contains the id, name, and serial_number
    >>> # columns in the "sample_product_data" table.
    >>> df = session.table("sample_product_data").select(col("id"), col("name"), col("serial_number"))
    >>> df.show()

    Execution is lazy and happens on the server. When an action evaluates the DataFrame, Snowpark sends the equivalent SQL to Snowflake. Many chained operations can be batched into one statement, which runs on a virtual warehouse. Less data crosses between client and database, and performance improves. Compare this with the Spark connector, where only translatable operators run in Snowflake and the rest fall back to Spark. Snowpark is the tool to pick when every step of the pipeline must run on Snowflake compute.

    Checkpoint 8 of 11· Check yourself

    A script builds a Snowpark DataFrame with session.table(...).select(...) but never calls show() or collect(). What has Snowflake executed?

    Sources12

    9.SYSTEM$ALLOWLIST: opening the firewall for clients

    Every tool above fails the same way behind a locked-down firewall: the connection hangs or certificate checks fail, because the client can reach the account URL but not the other hosts it depends on. SYSTEM$ALLOWLIST() takes no arguments. It returns a VARIANT array of JSON objects, each with a type, host and port, covering the account and every other host a client needs.

    Selected SYSTEM$ALLOWLIST entry types and the client need they cover
    typeWhat the host is used for
    SNOWFLAKE_DEPLOYMENTHost name and port for your Snowflake account
    STAGECloud storage location where files the client reads or writes (for example with PUT and GET) are stored
    SNOWSQL_REPOEndpoint SnowSQL uses for automatic downloads or upgrades
    OUT_OF_BAND_TELEMETRYHosts to which drivers report metrics and out-of-band incidents such as OCSP issues
    OCSP_CACHE / OCSP_RESPONDERSources for checking that the TLS certificate has not been revoked
    DUO_SECURITYDuo Security host used for MFA during authentication

    Some types return several rows. STAGE and OCSP_RESPONDER often do, and ports are not all 443: OCSP and CRL hosts commonly use port 80. A firewall rule that only allows port 443 to the account host lets a driver authenticate, but a PUT to the stage, or the certificate revocation check, still fails. To get one row per host instead of a JSON array, flatten the output:

    Turning SYSTEM$ALLOWLIST output into a type/host/port tablesql
    SELECT t.VALUE:type::VARCHAR as type, t.VALUE:host::VARCHAR as host, t.VALUE:port as port FROM TABLE(FLATTEN(input => PARSE_JSON(SYSTEM$ALLOWLIST()))) AS t;

    You can pass the output to SnowCD, the connectivity diagnostic tool, to check each host from the client's network. Sometimes the function cannot resolve the caller's socket and fails with errors such as SYSTEM$ALLOWLIST: Connection failure, returning empty OCSP fields. If the network problem is transient, wait a few minutes and run it again. If the failure persists, contact Snowflake Support.

    Checkpoint 9 of 11· Exam question

    A retail company runs a Kafka Connect cluster and wants clickstream events landing in Snowflake within seconds of production, without staging files on disk first. Which architectural choice matches this requirement?

    Checkpoint 10 of 11· Exam question

    An architect is reviewing what the Snowflake Connector for Kafka provisions automatically for each Kafka topic it consumes in its default (non-streaming) mode. Which set of objects does the connector create per topic?

    Checkpoint 11 of 11· Exam question

    A data engineering team wants to read a 4 TB Snowflake table into an existing Apache Spark cluster, join it against data already cached in Spark, and write the joined result back to a new Snowflake table. Which statement about the Snowflake Connector for Spark is accurate for this workflow?

    Sources13

    Practise it for real

    Produce the list of hosts and ports a client firewall must allow for your Snowflake account

    1. 1.Run SELECT SYSTEM$ALLOWLIST(); from any connected client.

      Why: The function returns every host the account's clients may need, not only the account URL.

      You should see: A single VARIANT value containing a JSON array of objects with type, host and port keys.

    2. 2.Run the FLATTEN and PARSE_JSON query from this lesson to turn the array into rows.

      Why: A firewall team needs a table of host and port pairs, not raw JSON.

      You should see: One row per entry, including SNOWFLAKE_DEPLOYMENT on 443 and OCSP or CRL entries on port 80.

    3. 3.Count the STAGE and OCSP_RESPONDER rows and note every port that is not 443.

      Why: Some types return several hosts, and a rule that only allows 443 breaks stage transfers or certificate checks.

      You should see: More than one row for at least one of these types, and some entries on port 80.

    4. 4.Pass the function's output to SnowCD from the client network.

      Why: SnowCD checks that each listed host is actually reachable from where the driver or connector runs.

      You should see: A pass or fail result per host, which tells you which firewall rules are still missing.

    Stuck? Get a nudge

    If the call fails with an error such as SYSTEM$ALLOWLIST: Connection failure and the OCSP fields are empty, wait a few minutes and rerun it before you change any firewall rules.

    Sources

    (15)

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

    1. 1.
      “reads data from one or more Apache Kafka topics and loads the data into a Snowflake table.”
      ↩︎ Kafka connector: how topics become tables
    2. 2.
      “based on the configuration information provided via the Kafka configuration file or command line”
      ↩︎ Kafka connector: how topics become tables
      “One internal stage to temporarily store data files for each topic.”
      ↩︎ Kafka connector: how topics become tables
      “the connector creates the RECORD_CONTENT and RECORD_METADATA columns in the existing table and verifies that the other columns are nullable”
      ↩︎ Kafka connector: how topics become tables
      “When a threshold (time or memory or number of messages) is reached, the connector writes the messages to a temporary file”
      ↩︎ Kafka connector: how topics become tables
      “One pipe to ingest the data files for each topic partition.”
      ↩︎ Exam trap 1
      “One pipe to ingest the data files for each topic partition.”
      ↩︎ Prediction
      “verifies that the other columns are nullable (and produces an error if they are not)”
      ↩︎ Checkpoint
    3. 3.
      “This architecture results in lower load latencies with corresponding lower costs for loading similar volumes of data.”
      ↩︎ Snowpipe Streaming mode for seconds-level latency
      “The minimum required Kafka connector version that supports Snowpipe Streaming is 2.0.0.”
      ↩︎ Snowpipe Streaming mode for seconds-level latency
      “For new implementations, Snowflake recommends the Snowflake Connector for Kafka (v4), which natively uses the high-performance architecture.”
      ↩︎ Snowpipe Streaming mode for seconds-level latency
      “supports streaming rows from Apache Kafka topics directly into target tables.”
      ↩︎ Exam trap 2
      “Specifies whether to use Snowpipe Streaming or standard Snowpipe to load your Kafka topic data.”
      ↩︎ Checkpoint
    4. 4.
      “enabling Spark to read data from, and write data to, Snowflake.”
      ↩︎ Spark connector: reading, writing and query pushdown
      “The connector runs as a Spark plugin and is provided as a Spark package (spark-snowflake).”
      ↩︎ Spark connector: reading, writing and query pushdown
      “To enable this enforcement, you must install 3.1.6 or a later version of the Spark connector.”
      ↩︎ Spark connector: reading, writing and query pushdown
      “You can also use Snowpark Connect for Spark as an alternative to the Snowflake Connector for Spark.”
      ↩︎ Spark connector: reading, writing and query pushdown
    5. 5.
      “Snowpark Connect for Spark translates DataFrame operations into SQL and sends them to a Snowflake warehouse for execution.”
      ↩︎ Spark connector: reading, writing and query pushdown
    6. 6.
      “The Spark Connector applies predicate and query pushdown by capturing and analyzing the Spark logical plans for SQL operations.”
      ↩︎ Spark connector: reading, writing and query pushdown
      “If you need pushdown for all operations, consider writing your code to use Snowpark API instead.”
      ↩︎ Spark connector: reading, writing and query pushdown
      “To test a connection to Snowflake, use the snow connection test command in Snowflake CLI.”
      ↩︎ Snowflake CLI and SnowSQL
      “the operations are translated into a SQL query and then executed in Snowflake to improve performance.”
      ↩︎ Key concept
      “When pushdown fails, the connector falls back to a less-optimized execution plan.”
      ↩︎ Exam trap 3
      “The unsupported operations are instead performed in Spark.”
      ↩︎ Checkpoint
      “Run the test from the environment whose network connectivity you want to check.”
      ↩︎ Checkpoint
    7. 7.
      “A connector is an application that allows data flow from an external source system into Snowflake.”
      ↩︎ Native connectors for SaaS sources: ServiceNow and Google Analytics
      “A native connector is a connector application built and deployed using the Snowflake Native App Framework.”
      ↩︎ Native connectors for SaaS sources: ServiceNow and Google Analytics
    8. 8.
      “It provides a programming alternative to developing applications in Java or C/C++ using the Snowflake JDBC or ODBC drivers.”
      ↩︎ Python connector, JDBC and ODBC: which driver for which application
      “It can be installed using pip on Linux, macOS, and Windows where Python 3.11 or later is installed.”
      ↩︎ Python connector, JDBC and ODBC: which driver for which application
    9. 9.
      “Snowflake provides a driver for connecting to Snowflake using ODBC-based client applications.”
      ↩︎ Python connector, JDBC and ODBC: which driver for which application
      “Amazon Web Services: Version 2.17.5 (and higher)”
      ↩︎ Python connector, JDBC and ODBC: which driver for which application
    10. 10.
      “The Snowflake SQL API is a REST API that you can use to access and update data in a Snowflake database.”
      ↩︎ SQL API: running statements over REST
      “Check request status and get results and other data after a request.”
      ↩︎ SQL API: running statements over REST
      “Use OAuth or Key Pair to authenticate with the Snowflake server.”
      ↩︎ SQL API: running statements over REST
    11. 11.
      “SnowSQL is a legacy command-line client.”
      ↩︎ Snowflake CLI and SnowSQL
      “Snowflake supports SnowSQL 1.5.x through April 16, 2028.”
      ↩︎ Snowflake CLI and SnowSQL
      “SnowSQL is an example of an application developed using the Snowflake Connector for Python; however, the connector is not a prerequisite for installing SnowSQL.”
      ↩︎ Snowflake CLI and SnowSQL
      “Snowflake will only add new features and enhancements to Snowflake CLI.”
      ↩︎ Exam trap 4
    12. 12.
      “The core abstraction in Snowpark is the DataFrame, which represents a set of data and provides methods to operate on that data.”
      ↩︎ Snowpark: DataFrames that run on Snowflake compute
      “Snowpark operations are executed lazily on the server”
      ↩︎ Snowpark: DataFrames that run on Snowflake compute
      “This reduces the amount of data transferred between your client and the Snowflake database.”
      ↩︎ Snowpark: DataFrames that run on Snowflake compute
    13. 13.
      “Returns host names and port numbers to add to your firewall”
      ↩︎ SYSTEM$ALLOWLIST: opening the firewall for clients
      “The output of this function can then be passed into SnowCD.”
      ↩︎ SYSTEM$ALLOWLIST: opening the firewall for clients
      “The output might include multiple entries for certain types (e.g. STAGE, OCSP_RESPONDER).”
      ↩︎ SYSTEM$ALLOWLIST: opening the firewall for clients

    Also cited

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