-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1233 from partiql/type-subquery
Adds support for subquery typing in inferencer
- Loading branch information
Showing
6 changed files
with
485 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
316fe36
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JMH Benchmark
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinAggFuncGroupingWithInterruptible
577.8098733361851
us/op382.12119688891636
us/op1.51
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinAggFuncGroupingWithoutInterruptible
543.9402479334356
us/op392.3519980690888
us/op1.39
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinAggFuncWithInterruptible
477.1744785423983
us/op328.6922523840265
us/op1.45
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinAggFuncWithoutInterruptible
481.1758287603178
us/op347.3716346967661
us/op1.39
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinWithInterruptible
345.62261454909765
us/op246.0062856125872
us/op1.40
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.compileCrossJoinWithoutInterruptible
359.3555819460761
us/op244.2936090192943
us/op1.47
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.evalCrossJoinAggWithInterruptible
10723998.077650001
us/op7834230.1458
us/op1.37
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.evalCrossJoinAggWithoutInterruptible
10910423.615199998
us/op7666112.15245
us/op1.42
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.evalCrossJoinWithInterruptible
83.60116283343227
us/op60.94840838016745
us/op1.37
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.evalCrossJoinWithoutInterruptible
87.83260645439518
us/op65.6668636313175
us/op1.34
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.iterCrossJoinAggWithInterruptible
10639614.73645
us/op7760324.5854
us/op1.37
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.iterCrossJoinAggWithoutInterruptible
11088775.37455
us/op7519458.6478
us/op1.47
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.iterCrossJoinWithInterruptible
176351.632075
us/op130421.39095
us/op1.35
org.partiql.jmh.benchmarks.CompilerInterruptionBenchmark.iterCrossJoinWithoutInterruptible
176065.158025
us/op128521.73259375
us/op1.37
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLCompiler15
183.11916407445054
us/op124.91578202156272
us/op1.47
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLCompiler30
335.96778405276507
us/op228.07585957364932
us/op1.47
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator15
638908.581725
us/op542491.2025
us/op1.18
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator30
1265467.5007000002
us/op1089913.46085
us/op1.16
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator30WithData10
12420455.441700004
us/op9169107.753099998
us/op1.35
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLParser15
258.8210157759367
us/op190.33258187881376
us/op1.36
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLParser30
490.07588901081044
us/op365.4623738231737
us/op1.34
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameCaseWhenThen
80.84287537516794
us/op45.824861000094145
us/op1.76
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery
99.08779753654291
us/op62.80762067278236
us/op1.58
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery01
473.767773901882
us/op327.7666918481925
us/op1.45
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery02
784.8107922015397
us/op561.3503832803597
us/op1.40
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameExceptUnionIntersectSixty
301.10656497809924
us/op215.60355466502293
us/op1.40
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameExec20Expressions
101.22330340140684
us/op72.51323189344842
us/op1.40
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameFromLet
83.53803715192508
us/op50.205637093161414
us/op1.66
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGraphPattern
81.23458065444396
us/op49.434683038334065
us/op1.64
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGraphPreFilters
133.46058288255784
us/op74.22924336968615
us/op1.80
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGroupLimit
91.45902538578218
us/op49.974450989712764
us/op1.83
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameLongFromSourceOrderBy
107.54581771276739
us/op73.34680320930049
us/op1.47
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameManyJoins
130.50156009429026
us/op68.54935958963918
us/op1.90
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameNestedAggregates
182.29853538448668
us/op117.28064110349021
us/op1.55
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameNestedParen
34.651161687570045
us/op21.984086452333578
us/op1.58
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNamePivot
119.06723278150926
us/op73.48607578687063
us/op1.62
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuery15OrsAndLikes
373.15459020811556
us/op218.06703177038875
us/op1.71
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuery30Plus
177.1935787874308
us/op121.91695842557938
us/op1.45
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryFunc
89.66431493784911
us/op57.63010292638152
us/op1.56
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryFuncInProjection
188.91081456116606
us/op128.70945766697292
us/op1.47
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryList
128.8454499454017
us/op86.47052726207801
us/op1.49
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryNestedSelect
1049.460745543333
us/op751.9737956411111
us/op1.40
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuerySimple
31.19171628059892
us/op19.749776553747587
us/op1.58
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralJoins
46.5313631013197
us/op26.13114413952731
us/op1.78
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralProjections
116.80876643050719
us/op79.86678467755118
us/op1.46
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralSelect
333.97180605983533
us/op221.70820521870968
us/op1.51
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSimpleInsert
60.71267748514911
us/op34.09524926234913
us/op1.78
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeJoins
45.32743841168469
us/op26.891999381917554
us/op1.69
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeProjections
56.50946249142504
us/op34.593058571164164
us/op1.63
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeSelect
97.03213109117296
us/op57.65228441963616
us/op1.68
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameTimeZone
49.168605313177316
us/op29.446681074542568
us/op1.67
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameVeryLongQuery
526.5703987619071
us/op366.2323250459336
us/op1.44
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameVeryLongQuery01
1615.1108952504035
us/op1077.9499207976182
us/op1.50
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameCaseWhenThen
43.80110126136175
us/op28.945182353099757
us/op1.51
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameComplexQuery
372.84956541876244
us/op246.91641904054023
us/op1.51
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameComplexQuery01
173.454141933256
us/op119.48064224116331
us/op1.45
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameExceptUnionIntersectSixty
311.8027694371126
us/op237.70121984862334
us/op1.31
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameExec20Expressions
96.60564772441711
us/op73.1065639126262
us/op1.32
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameFromLet
65.51464388819369
us/op39.77050591559147
us/op1.65
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGraphPattern
71.41232973520994
us/op44.13007585810279
us/op1.62
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGraphPreFilters
114.0810637652673
us/op74.82783971317892
us/op1.52
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGroupLimit
60.09772954255584
us/op37.234583792411414
us/op1.61
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameLongFromSourceOrderBy
196.56055945037352
us/op136.10327803191598
us/op1.44
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameManyJoins
74.1910159899002
us/op48.333784258899904
us/op1.53
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameNestedAggregates
147.8226684367247
us/op104.10043120129164
us/op1.42
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameNestedParen
118.01102223583159
us/op89.2636396193917
us/op1.32
org.partiql.jmh.benchmarks.ParserBenchmark.parseNamePivot
107.60208988654321
us/op72.61135841803286
us/op1.48
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuery15OrsAndLikes
257.081190297246
us/op191.3193758210371
us/op1.34
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuery30Plus
87.70375349556187
us/op65.31487891095622
us/op1.34
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryFunc
213.13875722460858
us/op138.41076543391932
us/op1.54
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryFuncInProjection
138.6140429081383
us/op98.4274676948555
us/op1.41
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryList
116.26574555540003
us/op87.96158411694728
us/op1.32
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryNestedSelect
214.23994611462135
us/op142.553229374776
us/op1.50
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuerySimple
22.677051417877216
us/op14.673911069296915
us/op1.55
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralJoins
107.39643483343211
us/op79.09011347471001
us/op1.36
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralProjections
86.54423035057705
us/op61.66279381350877
us/op1.40
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralSelect
160.5876843267661
us/op122.2080953103592
us/op1.31
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSimpleInsert
37.040401538109975
us/op24.191576436454472
us/op1.53
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeJoins
34.65208472800599
us/op22.752370910434514
us/op1.52
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeProjections
30.953102872965776
us/op21.62078719752899
us/op1.43
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeSelect
55.08231643432758
us/op37.83900464050047
us/op1.46
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameTimeZone
18.71411785372883
us/op10.385651792848705
us/op1.80
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameVeryLongQuery
586.3720588341728
us/op450.30120823372454
us/op1.30
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameVeryLongQuery01
1617.1239902005698
us/op1263.1944751581673
us/op1.28
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLCompiler
14.48512554399151
us/op9.887778282688156
us/op1.46
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLEvaluator
3.2674335479331917
us/op2.7081749580536103
us/op1.21
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLParser
21.110938921694828
us/op13.306115091699724
us/op1.59
This comment was automatically generated by workflow using github-action-benchmark.