Implement Sampling > Random as Engine:In-Database(SQL) for Snowflake

ecerulm
ecerulm Registered Posts: 45 ✭✭
edited July 16 in Product Ideas

Currently if I select Sampling method: Random (approx. ratio) or Random (approx. nb. records) the only allowed engine is DSS which will require downloading the input dataset to dss.

It's possible to do sampling at the Snowflake side, with https://docs.snowflake.com/en/sql-reference/constructs/sample

For Random(approx. nb.records) I believe it would be as easy as generating the following SQL

select * from input_table sample row (10 rows) seed (99);

1
1 votes

New · Last Updated

Comments

Setup Info
    Tags
      Help me…