prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
16.04k stars 5.38k forks source link

AbstractTestNativeTpcdsQueries::testTpcdsQ92 e2e test fails #20029

Open karteekmurthys opened 1 year ago

karteekmurthys commented 1 year ago

Workflow: https://app.circleci.com/pipelines/github/prestodb/presto/4367/workflows/eb5f7dee-eb54-40cb-b3b1-521c90d01772/jobs/9373

[INFO] 
[ERROR] Failures: 
[ERROR]   TestPrestoNativeTpcdsQueriesParquetUsingThrift>AbstractTestNativeTpcdsQueries.testTpcdsQ92:1110->AbstractTestQueryFramework.assertQuery:152 Execution of 'actual' query failed: SELECT "sum"("ws_ext_discount_amt") "Excess Discount Amount"
FROM
  web_sales
, item
, date_dim
WHERE ("i_manufact_id" = 350)
   AND ("i_item_sk" = "ws_item_sk")
   AND ("d_date" BETWEEN CAST('2000-01-27' AS DATE) AND (CAST('2000-01-27' AS DATE) + INTERVAL  '90' DAY))
   AND ("d_date_sk" = "ws_sold_date_sk")
   AND ("ws_ext_discount_amt" > (
      SELECT (DECIMAL '1.3' * "avg"("ws_ext_discount_amt"))
      FROM
        web_sales
      , date_dim
      WHERE ("ws_item_sk" = "i_item_sk")
         AND ("d_date" BETWEEN CAST('2000-01-27' AS DATE) AND (CAST('2000-01-27' AS DATE) + INTERVAL  '90' DAY))
         AND ("d_date_sk" = "ws_sold_date_sk")
   ))
ORDER BY "sum"("ws_ext_discount_amt") ASC
LIMIT 100

[INFO] 
[ERROR] Tests run: 107, Failures: 1, Errors: 0, Skipped: 
karteekmurthys commented 1 year ago

The test seems flaky. In recent run it passed.