-
Notifications
You must be signed in to change notification settings - Fork 787
feat: Add runtime bloom filter for merge into #14970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Add runtime bloom filter for merge into #14970
Conversation
…add_runtime_bloom_filter_for_merge_into
…add_runtime_bloom_filter_for_merge_into
…add_runtime_bloom_filter_for_merge_into
…add_runtime_bloom_filter_for_merge_into
…add_runtime_bloom_filter_for_merge_into
…add_runtime_bloom_filter_for_merge_into
68fbe60
to
69a5675
Compare
…add_runtime_bloom_filter_for_merge_into
…hub.com/JackTan25/databend into add_runtime_bloom_filter_for_merge_into
distributed_wizard_test: Passed Click mePreparing to run MERGE-INTO-C1...
Executing command: bendsql --query=-- MERGE-INTO-C1: Asset Types Distribution
SELECT asset_type, COUNT(*) AS count
FROM assets
GROUP BY asset_type
ORDER BY count DESC, asset_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
Executing command: snowsql --query -- MERGE-INTO-C1: Asset Types Distribution
SELECT asset_type, COUNT(*) AS count
FROM assets
GROUP BY asset_type
ORDER BY count DESC, asset_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
OK - MERGE-INTO-C1
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
Preparing to run MERGE-INTO-C2...
Executing command: bendsql --query=
-- MERGE-INTO-C2: Aggregated Quantity and Value Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
SUM(value) AS total_value,
AVG(value) AS average_value
FROM assets -D mergeinto
Command executed successfully. Output:
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
Executing command: snowsql --query
-- MERGE-INTO-C2: Aggregated Quantity and Value Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
SUM(value) AS total_value,
AVG(value) AS average_value
FROM assets --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
OK - MERGE-INTO-C2
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
Preparing to run MERGE-INTO-C3...
Executing command: bendsql --query=
-- MERGE-INTO-C3: Assets Counts by User
SELECT user_id, COUNT(*) AS count
FROM assets
GROUP BY user_id
ORDER BY count DESC, user_id
LIMIT 13 -D mergeinto
Command executed successfully. Output:
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
Executing command: snowsql --query
-- MERGE-INTO-C3: Assets Counts by User
SELECT user_id, COUNT(*) AS count
FROM assets
GROUP BY user_id
ORDER BY count DESC, user_id
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
OK - MERGE-INTO-C3
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
Preparing to run MERGE-INTO-C4...
Executing command: bendsql --query=
-- MERGE-INTO-C4: Date Range Analysis of Last Update
SELECT CASE
WHEN last_updated < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM assets
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-12-31 410014
Before 2022 39986
Executing command: snowsql --query
-- MERGE-INTO-C4: Date Range Analysis of Last Update
SELECT CASE
WHEN last_updated < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM assets
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-12-31 410014
Before 2022 39986
OK - MERGE-INTO-C4
After 2021-12-31 410014
Before 2022 39986
Preparing to run MERGE-INTO-C5...
Executing command: bendsql --query=
-- MERGE-INTO-C5: General Status Distribution
SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status
ORDER BY count DESC, status
LIMIT 13 -D mergeinto
Command executed successfully. Output:
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
Executing command: snowsql --query
-- MERGE-INTO-C5: General Status Distribution
SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status
ORDER BY count DESC, status
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
OK - MERGE-INTO-C5
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
Preparing to run MERGE-INTO-C6...
Executing command: bendsql --query=
-- MERGE-INTO-C6: General Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM orders -D mergeinto
Command executed successfully. Output:
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
Executing command: snowsql --query
-- MERGE-INTO-C6: General Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM orders --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
OK - MERGE-INTO-C6
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
Preparing to run MERGE-INTO-C7...
Executing command: bendsql --query=
-- MERGE-INTO-C7: New Orders vs Existing Orders Count
SELECT CASE
WHEN order_id > 500000 THEN 'New Order'
ELSE 'Existing Order'
END AS order_category,
COUNT(*) AS count
FROM orders
GROUP BY order_category
ORDER BY count DESC
LIMIT 13 -D mergeinto
Command executed successfully. Output:
New Order 1649995
Existing Order 750030
Executing command: snowsql --query
-- MERGE-INTO-C7: New Orders vs Existing Orders Count
SELECT CASE
WHEN order_id > 500000 THEN 'New Order'
ELSE 'Existing Order'
END AS order_category,
COUNT(*) AS count
FROM orders
GROUP BY order_category
ORDER BY count DESC
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
New Order 1649995
Existing Order 750030
OK - MERGE-INTO-C7
New Order 1649995
Existing Order 750030
Preparing to run MERGE-INTO-C8...
Executing command: bendsql --query=
-- MERGE-INTO-C8: Order Type Distribution
SELECT order_type, COUNT(*) AS count
FROM orders
GROUP BY order_type
ORDER BY count DESC, order_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
buy 1274986
sell 1125039
Executing command: snowsql --query
-- MERGE-INTO-C8: Order Type Distribution
SELECT order_type, COUNT(*) AS count
FROM orders
GROUP BY order_type
ORDER BY count DESC, order_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
buy 1274986
sell 1125039
OK - MERGE-INTO-C8
buy 1274986
sell 1125039
Preparing to run MERGE-INTO-C9...
Executing command: bendsql --query=
-- MERGE-INTO-C9: Date Range Analysis
SELECT CASE
WHEN created_at < '2022-01-01' THEN 'Before 2022'
WHEN created_at BETWEEN '2021-01-01' AND '2021-06-30' THEN 'First Half 2021'
ELSE 'After 2021-06-30'
END AS date_range,
COUNT(*) AS count
FROM orders
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-06-30 150000
Before 2022 2250025
Executing command: snowsql --query
-- MERGE-INTO-C9: Date Range Analysis
SELECT CASE
WHEN created_at < '2022-01-01' THEN 'Before 2022'
WHEN created_at BETWEEN '2021-01-01' AND '2021-06-30' THEN 'First Half 2021'
ELSE 'After 2021-06-30'
END AS date_range,
COUNT(*) AS count
FROM orders
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-06-30 150000
Before 2022 2250025
OK - MERGE-INTO-C9
After 2021-06-30 150000
Before 2022 2250025
Preparing to run MERGE-INTO-C10...
Executing command: bendsql --query=
-- MERGE-INTO-C10: Price Analysis After Adjustments
SELECT SUM(price) AS total_price,
AVG(price) AS average_price,
MIN(price) AS min_price,
MAX(price) AS max_price
FROM orders -D mergeinto
Command executed successfully. Output:
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
Executing command: snowsql --query
-- MERGE-INTO-C10: Price Analysis After Adjustments
SELECT SUM(price) AS total_price,
AVG(price) AS average_price,
MIN(price) AS min_price,
MAX(price) AS max_price
FROM orders --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
OK - MERGE-INTO-C10
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
Preparing to run MERGE-INTO-C11...
Executing command: bendsql --query=
-- MERGE-INTO-C11: Transaction Types Distribution
SELECT transaction_type, COUNT(*) AS count
FROM transactions
GROUP BY transaction_type
ORDER BY count DESC, transaction_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
trade 505920
deposit 26492
withdrawal 26129
Executing command: snowsql --query
-- MERGE-INTO-C11: Transaction Types Distribution
SELECT transaction_type, COUNT(*) AS count
FROM transactions
GROUP BY transaction_type
ORDER BY count DESC, transaction_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
trade 505920
deposit 26492
withdrawal 26129
OK - MERGE-INTO-C11
trade 505920
deposit 26492
withdrawal 26129
Preparing to run MERGE-INTO-C12...
Executing command: bendsql --query=
-- MERGE-INTO-C12: Aggregated Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM transactions -D mergeinto
Command executed successfully. Output:
73627261.57298446 131.820692792444 0.00106899 664.06985910
Executing command: snowsql --query
-- MERGE-INTO-C12: Aggregated Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM transactions --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
73627261.57298446 131.820692792444 0.00106899 664.06985910
OK - MERGE-INTO-C12
73627261.57298446 131.820692792444 0.00106899 664.06985910
Preparing to run MERGE-INTO-C13...
Executing command: bendsql --query=
-- MERGE-INTO-C13: Transaction Counts by User and Asset Type
SELECT user_id, asset_type, COUNT(*) AS count
FROM transactions
GROUP BY user_id, asset_type
ORDER BY count DESC, user_id, asset_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
Executing command: snowsql --query
-- MERGE-INTO-C13: Transaction Counts by User and Asset Type
SELECT user_id, asset_type, COUNT(*) AS count
FROM transactions
GROUP BY user_id, asset_type
ORDER BY count DESC, user_id, asset_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
OK - MERGE-INTO-C13
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
Preparing to run MERGE-INTO-C14...
Executing command: bendsql --query=
-- MERGE-INTO-C14: Date Range Analysis of Transactions
SELECT CASE
WHEN transaction_time < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM transactions
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-12-31 483526
Before 2022 75015
Executing command: snowsql --query
-- MERGE-INTO-C14: Date Range Analysis of Transactions
SELECT CASE
WHEN transaction_time < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM transactions
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-12-31 483526
Before 2022 75015
OK - MERGE-INTO-C14
After 2021-12-31 483526
Before 2022 75015
Preparing to run MERGE-INTO-C15...
Executing command: bendsql --query=
-- MERGE-INTO-C15: asserts
SELECT asset_type, SUM(quantity) AS total_quantity, SUM(value) AS total_value
FROM assets
GROUP BY asset_type ORDER BY asset_type ASC -D mergeinto
Command executed successfully. Output:
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
Executing command: snowsql --query
-- MERGE-INTO-C15: asserts
SELECT asset_type, SUM(quantity) AS total_quantity, SUM(value) AS total_value
FROM assets
GROUP BY asset_type ORDER BY asset_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
OK - MERGE-INTO-C15
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
Preparing to run MERGE-INTO-C16...
Executing command: bendsql --query=
-- MERGE-INTO-C16: orders
SELECT asset_type, SUM(quantity) AS total_quantity, AVG(price) AS average_price
FROM orders
GROUP BY asset_type ORDER BY asset_type ASC -D mergeinto
Command executed successfully. Output:
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
Executing command: snowsql --query
-- MERGE-INTO-C16: orders
SELECT asset_type, SUM(quantity) AS total_quantity, AVG(price) AS average_price
FROM orders
GROUP BY asset_type ORDER BY asset_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
OK - MERGE-INTO-C16
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
Preparing to run MERGE-INTO-C17...
Executing command: bendsql --query=
-- MERGE-INTO-C17: transactions
SELECT transaction_type, SUM(quantity) AS total_quantity
FROM transactions
GROUP BY transaction_type ORDER BY transaction_type ASC -D mergeinto
Command executed successfully. Output:
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623
Executing command: snowsql --query
-- MERGE-INTO-C17: transactions
SELECT transaction_type, SUM(quantity) AS total_quantity
FROM transactions
GROUP BY transaction_type ORDER BY transaction_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623
OK - MERGE-INTO-C17
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623 |
standalone_wizard_standalone_test(in distributed cluster): Passed Click mePreparing to run MERGE-INTO-C1...
Executing command: bendsql --query=-- MERGE-INTO-C1: Asset Types Distribution
SELECT asset_type, COUNT(*) AS count
FROM assets
GROUP BY asset_type
ORDER BY count DESC, asset_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
Executing command: snowsql --query -- MERGE-INTO-C1: Asset Types Distribution
SELECT asset_type, COUNT(*) AS count
FROM assets
GROUP BY asset_type
ORDER BY count DESC, asset_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
OK - MERGE-INTO-C1
NEW_ASSET 150000
BTC 104817
ETH 104808
XRP 90375
Preparing to run MERGE-INTO-C2...
Executing command: bendsql --query=
-- MERGE-INTO-C2: Aggregated Quantity and Value Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
SUM(value) AS total_value,
AVG(value) AS average_value
FROM assets -D mergeinto
Command executed successfully. Output:
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
Executing command: snowsql --query
-- MERGE-INTO-C2: Aggregated Quantity and Value Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
SUM(value) AS total_value,
AVG(value) AS average_value
FROM assets --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
OK - MERGE-INTO-C2
165342725.20941540 367.428278243145 1653427252.09414242 3674.282782431428
Preparing to run MERGE-INTO-C3...
Executing command: bendsql --query=
-- MERGE-INTO-C3: Assets Counts by User
SELECT user_id, COUNT(*) AS count
FROM assets
GROUP BY user_id
ORDER BY count DESC, user_id
LIMIT 13 -D mergeinto
Command executed successfully. Output:
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
Executing command: snowsql --query
-- MERGE-INTO-C3: Assets Counts by User
SELECT user_id, COUNT(*) AS count
FROM assets
GROUP BY user_id
ORDER BY count DESC, user_id
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
OK - MERGE-INTO-C3
0 6
2 6
4 6
6 6
8 6
10 6
12 6
14 6
16 6
18 6
20 6
22 6
24 6
Preparing to run MERGE-INTO-C4...
Executing command: bendsql --query=
-- MERGE-INTO-C4: Date Range Analysis of Last Update
SELECT CASE
WHEN last_updated < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM assets
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-12-31 410014
Before 2022 39986
Executing command: snowsql --query
-- MERGE-INTO-C4: Date Range Analysis of Last Update
SELECT CASE
WHEN last_updated < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM assets
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-12-31 410014
Before 2022 39986
OK - MERGE-INTO-C4
After 2021-12-31 410014
Before 2022 39986
Preparing to run MERGE-INTO-C5...
Executing command: bendsql --query=
-- MERGE-INTO-C5: General Status Distribution
SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status
ORDER BY count DESC, status
LIMIT 13 -D mergeinto
Command executed successfully. Output:
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
Executing command: snowsql --query
-- MERGE-INTO-C5: General Status Distribution
SELECT status, COUNT(*) AS count
FROM orders
GROUP BY status
ORDER BY count DESC, status
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
OK - MERGE-INTO-C5
avg 1049532
completed 350986
pending 348300
cancelled 300714
Pending 150000
above_avg 100418
below_avg 100075
Preparing to run MERGE-INTO-C6...
Executing command: bendsql --query=
-- MERGE-INTO-C6: General Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM orders -D mergeinto
Command executed successfully. Output:
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
Executing command: snowsql --query
-- MERGE-INTO-C6: General Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM orders --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
OK - MERGE-INTO-C6
1526855542.46298600 636.183182451427 0.00005807 8910.78518320
Preparing to run MERGE-INTO-C7...
Executing command: bendsql --query=
-- MERGE-INTO-C7: New Orders vs Existing Orders Count
SELECT CASE
WHEN order_id > 500000 THEN 'New Order'
ELSE 'Existing Order'
END AS order_category,
COUNT(*) AS count
FROM orders
GROUP BY order_category
ORDER BY count DESC
LIMIT 13 -D mergeinto
Command executed successfully. Output:
New Order 1649995
Existing Order 750030
Executing command: snowsql --query
-- MERGE-INTO-C7: New Orders vs Existing Orders Count
SELECT CASE
WHEN order_id > 500000 THEN 'New Order'
ELSE 'Existing Order'
END AS order_category,
COUNT(*) AS count
FROM orders
GROUP BY order_category
ORDER BY count DESC
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
New Order 1649995
Existing Order 750030
OK - MERGE-INTO-C7
New Order 1649995
Existing Order 750030
Preparing to run MERGE-INTO-C8...
Executing command: bendsql --query=
-- MERGE-INTO-C8: Order Type Distribution
SELECT order_type, COUNT(*) AS count
FROM orders
GROUP BY order_type
ORDER BY count DESC, order_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
buy 1274986
sell 1125039
Executing command: snowsql --query
-- MERGE-INTO-C8: Order Type Distribution
SELECT order_type, COUNT(*) AS count
FROM orders
GROUP BY order_type
ORDER BY count DESC, order_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
buy 1274986
sell 1125039
OK - MERGE-INTO-C8
buy 1274986
sell 1125039
Preparing to run MERGE-INTO-C9...
Executing command: bendsql --query=
-- MERGE-INTO-C9: Date Range Analysis
SELECT CASE
WHEN created_at < '2022-01-01' THEN 'Before 2022'
WHEN created_at BETWEEN '2021-01-01' AND '2021-06-30' THEN 'First Half 2021'
ELSE 'After 2021-06-30'
END AS date_range,
COUNT(*) AS count
FROM orders
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-06-30 150000
Before 2022 2250025
Executing command: snowsql --query
-- MERGE-INTO-C9: Date Range Analysis
SELECT CASE
WHEN created_at < '2022-01-01' THEN 'Before 2022'
WHEN created_at BETWEEN '2021-01-01' AND '2021-06-30' THEN 'First Half 2021'
ELSE 'After 2021-06-30'
END AS date_range,
COUNT(*) AS count
FROM orders
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-06-30 150000
Before 2022 2250025
OK - MERGE-INTO-C9
After 2021-06-30 150000
Before 2022 2250025
Preparing to run MERGE-INTO-C10...
Executing command: bendsql --query=
-- MERGE-INTO-C10: Price Analysis After Adjustments
SELECT SUM(price) AS total_price,
AVG(price) AS average_price,
MIN(price) AS min_price,
MAX(price) AS max_price
FROM orders -D mergeinto
Command executed successfully. Output:
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
Executing command: snowsql --query
-- MERGE-INTO-C10: Price Analysis After Adjustments
SELECT SUM(price) AS total_price,
AVG(price) AS average_price,
MIN(price) AS min_price,
MAX(price) AS max_price
FROM orders --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
OK - MERGE-INTO-C10
2874615680.22030825 1197.744056924535 0.00058074 10990.07262787
Preparing to run MERGE-INTO-C11...
Executing command: bendsql --query=
-- MERGE-INTO-C11: Transaction Types Distribution
SELECT transaction_type, COUNT(*) AS count
FROM transactions
GROUP BY transaction_type
ORDER BY count DESC, transaction_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
trade 505920
deposit 26492
withdrawal 26129
Executing command: snowsql --query
-- MERGE-INTO-C11: Transaction Types Distribution
SELECT transaction_type, COUNT(*) AS count
FROM transactions
GROUP BY transaction_type
ORDER BY count DESC, transaction_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
trade 505920
deposit 26492
withdrawal 26129
OK - MERGE-INTO-C11
trade 505920
deposit 26492
withdrawal 26129
Preparing to run MERGE-INTO-C12...
Executing command: bendsql --query=
-- MERGE-INTO-C12: Aggregated Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM transactions -D mergeinto
Command executed successfully. Output:
73627261.57298446 131.820692792444 0.00106899 664.06985910
Executing command: snowsql --query
-- MERGE-INTO-C12: Aggregated Quantity Statistics
SELECT SUM(quantity) AS total_quantity,
AVG(quantity) AS average_quantity,
MIN(quantity) AS min_quantity,
MAX(quantity) AS max_quantity
FROM transactions --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
73627261.57298446 131.820692792444 0.00106899 664.06985910
OK - MERGE-INTO-C12
73627261.57298446 131.820692792444 0.00106899 664.06985910
Preparing to run MERGE-INTO-C13...
Executing command: bendsql --query=
-- MERGE-INTO-C13: Transaction Counts by User and Asset Type
SELECT user_id, asset_type, COUNT(*) AS count
FROM transactions
GROUP BY user_id, asset_type
ORDER BY count DESC, user_id, asset_type
LIMIT 13 -D mergeinto
Command executed successfully. Output:
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
Executing command: snowsql --query
-- MERGE-INTO-C13: Transaction Counts by User and Asset Type
SELECT user_id, asset_type, COUNT(*) AS count
FROM transactions
GROUP BY user_id, asset_type
ORDER BY count DESC, user_id, asset_type
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
OK - MERGE-INTO-C13
804 ETH 15
1216 ETH 15
216 BTC 14
425 ETH 14
844 BTC 14
1231 ETH 14
1539 ETH 14
1603 ETH 14
1926 ETH 14
2609 BTC 14
2704 ETH 14
2827 ETH 14
2841 BTC 14
Preparing to run MERGE-INTO-C14...
Executing command: bendsql --query=
-- MERGE-INTO-C14: Date Range Analysis of Transactions
SELECT CASE
WHEN transaction_time < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM transactions
GROUP BY date_range
ORDER BY date_range
LIMIT 13 -D mergeinto
Command executed successfully. Output:
After 2021-12-31 483526
Before 2022 75015
Executing command: snowsql --query
-- MERGE-INTO-C14: Date Range Analysis of Transactions
SELECT CASE
WHEN transaction_time < '2022-01-01' THEN 'Before 2022'
ELSE 'After 2021-12-31'
END AS date_range,
COUNT(*) AS count
FROM transactions
GROUP BY date_range
ORDER BY date_range
LIMIT 13 --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
After 2021-12-31 483526
Before 2022 75015
OK - MERGE-INTO-C14
After 2021-12-31 483526
Before 2022 75015
Preparing to run MERGE-INTO-C15...
Executing command: bendsql --query=
-- MERGE-INTO-C15: asserts
SELECT asset_type, SUM(quantity) AS total_quantity, SUM(value) AS total_value
FROM assets
GROUP BY asset_type ORDER BY asset_type ASC -D mergeinto
Command executed successfully. Output:
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
Executing command: snowsql --query
-- MERGE-INTO-C15: asserts
SELECT asset_type, SUM(quantity) AS total_quantity, SUM(value) AS total_value
FROM assets
GROUP BY asset_type ORDER BY asset_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
OK - MERGE-INTO-C15
BTC 54537998.34092175 545379983.40921303
ETH 50387362.73309448 503873627.33094612
NEW_ASSET 15000000.00000000 150000000.00000000
XRP 45417364.13539917 454173641.35398327
Preparing to run MERGE-INTO-C16...
Executing command: bendsql --query=
-- MERGE-INTO-C16: orders
SELECT asset_type, SUM(quantity) AS total_quantity, AVG(price) AS average_price
FROM orders
GROUP BY asset_type ORDER BY asset_type ASC -D mergeinto
Command executed successfully. Output:
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
Executing command: snowsql --query
-- MERGE-INTO-C16: orders
SELECT asset_type, SUM(quantity) AS total_quantity, AVG(price) AS average_price
FROM orders
GROUP BY asset_type ORDER BY asset_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
OK - MERGE-INTO-C16
BTC 577143846.60937705 1321.552983291813
ETH 532400471.20223598 1228.552050777431
NEW_ORDER 7500000.00000000 500.000000000000
XRP 409811224.65137297 1172.281276438386
Preparing to run MERGE-INTO-C17...
Executing command: bendsql --query=
-- MERGE-INTO-C17: transactions
SELECT transaction_type, SUM(quantity) AS total_quantity
FROM transactions
GROUP BY transaction_type ORDER BY transaction_type ASC -D mergeinto
Command executed successfully. Output:
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623
Executing command: snowsql --query
-- MERGE-INTO-C17: transactions
SELECT transaction_type, SUM(quantity) AS total_quantity
FROM transactions
GROUP BY transaction_type ORDER BY transaction_type ASC --dbname mergeinto --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false -o log_level=DEBUG --warehouse COMPUTE_WH
Command executed successfully. Output:
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623
OK - MERGE-INTO-C17
deposit 5712183.27889012
trade 62705473.53457811
withdrawal 5209604.75951623 |
source_build_distributed_update_optmization_pk_bloom: Passed Click mePreparing to run Unknown Query...
Executing command: bendsql --query=-- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query -- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 -D mergeinto_performance
Command executed successfully. Output:
114641243 25.50089644 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114641243 25.50089644 104948.50 0.00
OK - Unknown Query
114641243 25.50089644 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114641243
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114641243
OK - Unknown Query
114641243
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
OK - Unknown Query
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28276963
N F 739278
N O 57342820
R F 28282182
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28276963
N F 739278
N O 57342820
R F 28282182
OK - Unknown Query
A F 28276963
N F 739278
N O 57342820
R F 28282182
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57796308
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57796308
OK - Unknown Query
57796308
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 -D mergeinto_performance
Command executed successfully. Output:
254913155 25.49995315 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
254913155 25.49995315 104948.50 0.00
OK - Unknown Query
254913155 25.49995315 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
254913155
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
254913155
OK - Unknown Query
254913155
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 63598486
N F 1659105
N O 126042296
R F 63613268
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 63598486
N F 1659105
N O 126042296
R F 63613268
OK - Unknown Query
A F 63598486
N F 1659105
N O 126042296
R F 63613268
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
128345631
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
128345631
OK - Unknown Query
128345631
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None |
source_build_standalone_update_optmization_pk_bloom: Passed Click mePreparing to run Unknown Query...
Executing command: bendsql --query=-- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query -- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 -D mergeinto_performance
Command executed successfully. Output:
114641243 25.50089644 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114641243 25.50089644 104948.50 0.00
OK - Unknown Query
114641243 25.50089644 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114641243
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114641243
OK - Unknown Query
114641243
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
OK - Unknown Query
34 1 1
34 2 1
34 3 1
68 1 1
68 2 1
68 3 1
68 4 1
68 5 1
68 6 1
68 7 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28276963
N F 739278
N O 57342820
R F 28282182
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28276963
N F 739278
N O 57342820
R F 28282182
OK - Unknown Query
A F 28276963
N F 739278
N O 57342820
R F 28282182
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57796308
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57796308
OK - Unknown Query
57796308
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 -D mergeinto_performance
Command executed successfully. Output:
254913155 25.49995315 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
254913155 25.49995315 104948.50 0.00
OK - Unknown Query
254913155 25.49995315 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
254913155
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
254913155
OK - Unknown Query
254913155
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 63598486
N F 1659105
N O 126042296
R F 63613268
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 63598486
N F 1659105
N O 126042296
R F 63613268
OK - Unknown Query
A F 63598486
N F 1659105
N O 126042296
R F 63613268
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
128345631
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
128345631
OK - Unknown Query
128345631
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None |
What's the performance? It's better to add to the PR summary. |
let me finish the correctess test first. |
standalone_wizard_standalone_in_standalone_mode_test: Passed Click me```sql Preparing to run MERGE-INTO-C1... Executing command: bendsql --query=-- MERGE-INTO-C1: Asset Types Distribution SELECT asset_type, COUNT(*) AS count FROM assets GROUP BY asset_type ORDER BY count DESC, asset_type LIMIT 13 -D mergeinto Command executed successfully. Output: NEW_ASSET 150000 BTC 104817 ETH 104808 XRP 90375Executing command: snowsql --query -- MERGE-INTO-C1: Asset Types Distribution OK - MERGE-INTO-C1 Preparing to run MERGE-INTO-C2... -- MERGE-INTO-C2: Aggregated Quantity and Value Statistics Executing command: snowsql --query -- MERGE-INTO-C2: Aggregated Quantity and Value Statistics OK - MERGE-INTO-C2 Preparing to run MERGE-INTO-C3... -- MERGE-INTO-C3: Assets Counts by User Executing command: snowsql --query -- MERGE-INTO-C3: Assets Counts by User OK - MERGE-INTO-C3 Preparing to run MERGE-INTO-C4... -- MERGE-INTO-C4: Date Range Analysis of Last Update Executing command: snowsql --query -- MERGE-INTO-C4: Date Range Analysis of Last Update OK - MERGE-INTO-C4 Preparing to run MERGE-INTO-C5... -- MERGE-INTO-C5: General Status Distribution Executing command: snowsql --query -- MERGE-INTO-C5: General Status Distribution OK - MERGE-INTO-C5 Preparing to run MERGE-INTO-C6... -- MERGE-INTO-C6: General Quantity Statistics Executing command: snowsql --query -- MERGE-INTO-C6: General Quantity Statistics OK - MERGE-INTO-C6 Preparing to run MERGE-INTO-C7... -- MERGE-INTO-C7: New Orders vs Existing Orders Count Executing command: snowsql --query -- MERGE-INTO-C7: New Orders vs Existing Orders Count OK - MERGE-INTO-C7 Preparing to run MERGE-INTO-C8... -- MERGE-INTO-C8: Order Type Distribution Executing command: snowsql --query -- MERGE-INTO-C8: Order Type Distribution OK - MERGE-INTO-C8 Preparing to run MERGE-INTO-C9... -- MERGE-INTO-C9: Date Range Analysis Executing command: snowsql --query -- MERGE-INTO-C9: Date Range Analysis OK - MERGE-INTO-C9 Preparing to run MERGE-INTO-C10... -- MERGE-INTO-C10: Price Analysis After Adjustments Executing command: snowsql --query -- MERGE-INTO-C10: Price Analysis After Adjustments OK - MERGE-INTO-C10 Preparing to run MERGE-INTO-C11... -- MERGE-INTO-C11: Transaction Types Distribution Executing command: snowsql --query -- MERGE-INTO-C11: Transaction Types Distribution OK - MERGE-INTO-C11 Preparing to run MERGE-INTO-C12... -- MERGE-INTO-C12: Aggregated Quantity Statistics Executing command: snowsql --query -- MERGE-INTO-C12: Aggregated Quantity Statistics OK - MERGE-INTO-C12 Preparing to run MERGE-INTO-C13... -- MERGE-INTO-C13: Transaction Counts by User and Asset Type Executing command: snowsql --query -- MERGE-INTO-C13: Transaction Counts by User and Asset Type OK - MERGE-INTO-C13 Preparing to run MERGE-INTO-C14... -- MERGE-INTO-C14: Date Range Analysis of Transactions Executing command: snowsql --query -- MERGE-INTO-C14: Date Range Analysis of Transactions OK - MERGE-INTO-C14 Preparing to run MERGE-INTO-C15... -- MERGE-INTO-C15: asserts Executing command: snowsql --query -- MERGE-INTO-C15: asserts OK - MERGE-INTO-C15 Preparing to run MERGE-INTO-C16... -- MERGE-INTO-C16: orders Executing command: snowsql --query -- MERGE-INTO-C16: orders OK - MERGE-INTO-C16 Preparing to run MERGE-INTO-C17... -- MERGE-INTO-C17: transactions Executing command: snowsql --query -- MERGE-INTO-C17: transactions OK - MERGE-INTO-C17
|
target_build_standalone_update_optmization_pk_bloom: Passed Click mePreparing to run Unknown Query...
Executing command: bendsql --query=-- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query -- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None |
target_build_distributed_update_optmization_pk_bloom: Passed Click mePreparing to run Unknown Query...
Executing command: bendsql --query=-- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query -- test lineitem_target_origin_200_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =============================================================
-- test lineitem_target_origin_200_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 -D mergeinto_performance
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731 25.50115337 104948.50 0.00
OK - Unknown Query
103255731 25.50115337 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
103255731
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
103255731
OK - Unknown Query
103255731
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 45908064
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 45908064
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
51393942
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
51393942
OK - Unknown Query
51393942
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 -D mergeinto_performance
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_200_blocks_partial_plus_50_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690 25.50090575 104948.50 0.00
OK - Unknown Query
129126690 25.50090575 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
129126690
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
129126690
OK - Unknown Query
129126690
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 35392860
N F 923652
N O 57413635
R F 35396543
OK - Unknown Query
A F 35392860
N F 923652
N O 57413635
R F 35396543
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
64269361
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
64269361
OK - Unknown Query
64269361
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_200_blocks_partial_plus_50_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 -D mergeinto_performance
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_400_blocks4 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_400_blocks4 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196 25.49995718 104948.50 0.00
OK - Unknown Query
229042196 25.49995718 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
229042196
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
229042196
OK - Unknown Query
229042196
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_400_blocks4
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 56506907
N F 1475358
N O 114536725
R F 56523206
OK - Unknown Query
A F 56506907
N F 1475358
N O 114536725
R F 56523206
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_400_blocks4
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
115470212
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
115470212
OK - Unknown Query
115470212
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_400_blocks4
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block1 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block1 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block1
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block1
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block1
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block1
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 -D mergeinto_performance
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block2 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block2 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502 25.50088990 104948.50 0.00
OK - Unknown Query
114729502 25.50088990 104948.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
114729502
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
114729502
OK - Unknown Query
114729502
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
OK - Unknown Query
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
2 1 1
3 1 1
3 2 1
3 3 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block2
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 28301281
N F 739905
N O 57381835
R F 28306481
OK - Unknown Query
A F 28301281
N F 739905
N O 57381835
R F 28306481
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block2
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
57840341
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block2
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
57840341
OK - Unknown Query
57840341
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block2
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 -D mergeinto_performance
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
Executing command: snowsql --query
-- =======================================================
-- test lineitem_target_origin_one_block3 table
-- 1. Basic Statistics Query
SELECT
COUNT(*) as total_records,
AVG(l_quantity) as avg_quantity,
MAX(l_extendedprice) as max_price,
MIN(l_discount) as min_discount
FROM lineitem_target_origin_one_block3 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015 25.50743796 104768.50 0.00
OK - Unknown Query
574015 25.50743796 104768.50 0.00
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' -D mergeinto_performance
Command executed successfully. Output:
574015
Executing command: snowsql --query
-- 2. data range and valid check
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate < '2000-01-01' OR l_shipdate > '2024-01-01' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
574015
OK - Unknown Query
574015
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 -D mergeinto_performance
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Executing command: snowsql --query
-- 3. unique composite check
SELECT
l_orderkey, l_linenumber, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_orderkey, l_linenumber
HAVING COUNT(*) >= 1 order by l_orderkey, l_linenumber limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
OK - Unknown Query
11983072 1 1
11983072 2 1
11983072 3 1
11983072 4 1
11983072 5 1
11983073 1 1
11983073 2 1
11983073 3 1
11983073 4 1
11983074 1 1
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 -D mergeinto_performance
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
Executing command: snowsql --query
-- 4. correlated check
-- 5. test specific value
SELECT
l_returnflag, l_linestatus, COUNT(*)
FROM lineitem_target_origin_one_block3
GROUP BY l_returnflag, l_linestatus order by l_returnflag, l_linestatus limit 10 --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
A F 142333
N F 3628
N O 286316
R F 141738
OK - Unknown Query
A F 142333
N F 3628
N O 286316
R F 141738
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL -D mergeinto_performance
Command executed successfully. Output:
0
Executing command: snowsql --query
-- 6 .non null check
SELECT COUNT(*) FROM lineitem_target_origin_one_block3
WHERE l_orderkey IS NULL OR l_partkey IS NULL OR l_quantity IS NULL --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
0
OK - Unknown Query
0
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate -D mergeinto_performance
Command executed successfully. Output:
289491
Executing command: snowsql --query
-- 7. Continuous-time
SELECT
COUNT(*)
FROM lineitem_target_origin_one_block3
WHERE l_shipdate > l_commitdate OR l_shipdate > l_receiptdate --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
289491
OK - Unknown Query
289491
Preparing to run Unknown Query...
Executing command: bendsql --query=
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' -D mergeinto_performance
Command executed successfully. Output:
NULL
Executing command: snowsql --query
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31' --dbname mergeinto_performance --schemaname PUBLIC -o output_format=tsv -o header=false -o timing=false -o friendly=false --warehouse COMPUTE_WH_MEDIUM
Command executed successfully. Output:
None
DIFFERENCE FOUND
Unknown Query:
-- 8. aggregation at condition filter.
SELECT
SUM(l_extendedprice * (1 - l_discount)) as total_sales
FROM lineitem_target_origin_one_block3
WHERE l_shipdate BETWEEN '2023-01-01' AND '2023-12-31'
Differences:
bendsql:
NULL
snowsql:
None |
please review this one, cc @dantengsky @xudong963 , after merge, let @wubx check its performance in real data distribution. |
cc @JackTan25 Tested this PR with the following scenario :
Expected Behavior:
Issues Encountered:
With some ad-hoc fix(please see the patch at the end.), the "merge into runtime filter" seems working now:
the patch:
|
I'm afraid that the |
cc @dantengsky Thanks for your help really, I will fix this. Seems if so, we can avoid many trouble in many scenarios. |
the |
// e.g. let the fields of `RuntimeFilterInfo` be public visible,
// so that the ownership of the fields can be taken more easily,
// avoid the unnecessary/inefficient cloning cc @dantengsky for now, it's only filter expression for runtime filter, exprs-self are small, and as to siphashkeys, it's Arc type, so we can do clone it without performace loss. |
…hub.com/JackTan25/databend into add_runtime_bloom_filter_for_merge_into
Docker Image for PR
|
For reference only : |
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
We add target table block bloom filter for merge into runtime filter, so we can avoid scaning many uncorrelated blocks.
MergeIntoBloom can make effect in one node for now, I need to refactor it later.
improve 0.2s. Seems the bloom filter false positive is too high. 200 blocks, we can only prune 4 blocks. The data is too random, so it's hard to prune.
Tests
Type of change
This change is