Hub
Pricing About
ComponentComponent

Snowflake Partitioning

DBSnowflakeQuery
tobias.koetter profile image
Draft Latest edits on 
Feb 4, 2024 5:52 PM
Drag & drop
Like
Use or download
The input table is split into two partitions (i.e. row-wise), e.g. train and test data. The two partitions are available as database queries at the two output ports. To perform the partitioning the node appends a new partitioning column to the entered table with a random number. This is necessary since the random number function is not deterministic even with a given seed. Once the partition queries are consumed use the Snowflake Partitioning Cleanup component to remove the added partitioning column.

Component details

Input ports
  1. Type: DB Session
    DB Session
    DB Session
Output ports
  1. Type: DB Data
    First partition
    First data partition of the entered table.
  2. Type: DB Data
    Second partition
    Second data partition of the entered table.
  3. Type: Flow Variable
    Flow variables
    The entered table and random column name used in the Snowflake Partitioning Cleanup component.

External resources

  • Snowflake Partitioning Cleanup Component
  • Snowflake add column function
  • Snowflake random function

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME DatabaseTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits