diff --git a/.github/workflows/perf.yaml b/.github/workflows/perf.yaml index 3fd0067f..f297799d 100644 --- a/.github/workflows/perf.yaml +++ b/.github/workflows/perf.yaml @@ -88,7 +88,6 @@ jobs: --size XLarge mv collector/numbers.json collector/numbers/${{ env.PERF_DATE }}-numbers.json - mv collector/ontime.json collector/ontime/${{ env.PERF_DATE }}-ontime.json mv collector/hits.json collector/hits/${{ env.PERF_DATE }}-hits.json - name: Clean warehouse diff --git a/.github/workflows/reload.ontime.yaml b/.github/workflows/reload.ontime.yaml deleted file mode 100644 index 00246f76..00000000 --- a/.github/workflows/reload.ontime.yaml +++ /dev/null @@ -1,27 +0,0 @@ -name: Reload ontime - -on: - # pull_request: - # branches: - # - main - # paths: - # - "reload/ontime.yaml" - push: - branches: - - main - paths: - - "reload/ontime.yaml" - schedule: - # Runs at 08:25 UTC on Wed. - - cron: '25 8 * * 3' - workflow_dispatch: {} - -concurrency: - group: "reload" - -jobs: - reload-ontime: - uses: ./.github/workflows/reuse.reload.yaml - secrets: inherit - with: - script: ./reload/ontime.sh diff --git a/.github/workflows/reload.tpch.yaml b/.github/workflows/reload.tpch.yaml deleted file mode 100644 index a4e59b30..00000000 --- a/.github/workflows/reload.tpch.yaml +++ /dev/null @@ -1,76 +0,0 @@ -name: Reload tpch - -on: - # pull_request: - # branches: - # - main - # paths: - # - "reload/tpch/**" - push: - branches: - - main - paths: - - "reload/tpch/**" - schedule: - # Runs at 08:25 UTC on Thursday. - - cron: '25 8 * * 4' - workflow_dispatch: {} - -concurrency: - group: "reload" - -jobs: - reload-lineitem: - uses: ./.github/workflows/reuse.reload.yaml - secrets: inherit - with: - script: ./reload/tpch/lineitem.sh - - reload-orders: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-lineitem] - secrets: inherit - with: - script: ./reload/tpch/orders.sh - - reload-partsupp: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-orders] - secrets: inherit - with: - script: ./reload/tpch/partsupp.sh - - reload-part: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-partsupp] - secrets: inherit - with: - script: ./reload/tpch/part.sh - - reload-customer: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-part] - secrets: inherit - with: - script: ./reload/tpch/customer.sh - - reload-supplier: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-customer] - secrets: inherit - with: - script: ./reload/tpch/supplier.sh - - reload-nation: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-supplier] - secrets: inherit - with: - script: ./reload/tpch/nation.sh - - reload-region: - uses: ./.github/workflows/reuse.reload.yaml - needs: [reload-nation] - secrets: inherit - with: - script: ./reload/tpch/region.sh diff --git a/benchmarks/ontime.yaml b/benchmarks/ontime.yaml deleted file mode 100644 index 34da3310..00000000 --- a/benchmarks/ontime.yaml +++ /dev/null @@ -1,38 +0,0 @@ -metadata: - table: ontime - -statements: - - name: Q1 - query: "SELECT DayOfWeek, count(*) AS c FROM default.ontime WHERE Year >= 2000 AND Year <= 2008 GROUP BY DayOfWeek ORDER BY c DESC;" - - name: Q2 - query: "SELECT DayOfWeek, count(*) AS c FROM default.ontime WHERE DepDelay>10 AND Year >= 2000 AND Year <= 2008 GROUP BY DayOfWeek ORDER BY c DESC;" - - name: Q3 - query: "SELECT Origin, count(*) AS c FROM default.ontime WHERE DepDelay>10 AND Year >= 2000 AND Year <= 2008 GROUP BY Origin ORDER BY c DESC LIMIT 10;" - - name: Q4 - query: "SELECT IATA_CODE_Reporting_Airline AS Carrier, count() FROM default.ontime WHERE DepDelay>10 AND Year = 2007 GROUP BY Carrier ORDER BY count() DESC;" - - name: Q5 - query: "SELECT IATA_CODE_Reporting_Airline AS Carrier, avg(cast(DepDelay>10 as Int8))*1000 AS c3 FROM default.ontime WHERE Year=2007 GROUP BY Carrier ORDER BY c3 DESC" - - name: Q5-JOIN - query: "SELECT Carrier, c, c2, c*100/c2 as c3 FROM( SELECT IATA_CODE_Reporting_Airline AS Carrier, count(*) AS c FROM ontime WHERE DepDelay>10 AND Year=2007 GROUP BY Carrier) q JOIN ( SELECT IATA_CODE_Reporting_Airline AS Carrier, count(*) AS c2 FROM ontime WHERE Year=2007 GROUP BY Carrier ) qq USING (Carrier) ORDER BY c3 DESC;" - - name: Q6 - query: "SELECT IATA_CODE_Reporting_Airline AS Carrier, avg(cast(DepDelay>10 as Int8))*1000 AS c3 FROM default.ontime WHERE Year>=2000 AND Year <=2008 GROUP BY Carrier ORDER BY c3 DESC;" - - name: Q6-JOIN - query: "SELECT Carrier, c, c2, c*100/c2 as c3 FROM( SELECT IATA_CODE_Reporting_Airline AS Carrier, count(*) AS c FROM ontime WHERE DepDelay>10 AND Year>=2000 AND Year<=2008 GROUP BY Carrier) q JOIN ( SELECT IATA_CODE_Reporting_Airline AS Carrier, count(*) AS c2 FROM ontime WHERE Year>=2000 AND Year<=2008 GROUP BY Carrier ) qq USING (Carrier) ORDER BY c3 DESC;" - - name: Q7 - query: "SELECT IATA_CODE_Reporting_Airline AS Carrier, avg(DepDelay) * 1000 AS c3 FROM default.ontime WHERE Year >= 2000 AND Year <= 2008 GROUP BY Carrier;" - - name: Q7-JOIN - query: "SELECT Year, c1/c2 FROM( select Year, count(*)*100 as c1 from ontime WHERE DepDelay>10 GROUP BY Year) q JOIN ( select Year, count(*) as c2 from ontime GROUP BY Year ) qq USING (Year) ORDER BY Year;" - - name: Q8 - query: "SELECT Year, avg(DepDelay) FROM default.ontime GROUP BY Year;" - - name: Q9 - query: "SELECT Year, count(*) as c1 FROM default.ontime GROUP BY Year;" - #- name: Q10 - # query: "SELECT avg(cnt) FROM (SELECT Year,Month,count(*) AS cnt FROM default.ontime WHERE DepDel15=1 GROUP BY Year,Month) a;" - - name: Q11 - query: "SELECT avg(c1) FROM (SELECT Year,Month,count(*) AS c1 FROM default.ontime GROUP BY Year,Month) a;" - - name: Q12 - query: "SELECT OriginCityName, DestCityName, count(*) AS c FROM default.ontime GROUP BY OriginCityName, DestCityName ORDER BY c DESC LIMIT 10;" - - name: Q13 - query: "SELECT OriginCityName, count(*) AS c FROM default.ontime GROUP BY OriginCityName ORDER BY c DESC LIMIT 10" - - name: Q14 - query: "SELECT count(*) FROM default.ontime;"