Skip to content

Commit

Permalink
Update v0.8-to-v0.9-upgrade.md (#1209)
Browse files Browse the repository at this point in the history
Updates the v0.8-to-v0.9-upgrade.md to include the information about dropping annotations in v0.9,
  • Loading branch information
am357 authored Sep 13, 2023
1 parent 79e7ad7 commit 36aeaa0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/wiki/upgrades/v0.8-to-v0.9-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,30 @@

### Breaking behavioral changes

N/A
In version v.9.0, as a result of deprecating `ionValue` property in `ExprValue` and introduction of the substitute method `ExprValue.toIonValue(ion: IonSystem)` in Kotlin, and `ExprValueKt.toIonValue(value: ExprValue, ion: IonSystem)` in Java.
Ion annotation will get elided from the provided Ion values in identity evaluations:

#### Example
```Kotlin
val query = `annotation::1`

/* Prior to v0.9
ExprValue: IonExprValue
ionValue: annotation::1
*/

/* After v0.9
ExprValue: IntExprValue
toIonValue: 1
*/
```

_**Note: Support for Ion annotations will get added back once the work related to finalizing the specification as an RFC is completed. See [partiql-spec/issues/63](
https://github.com/partiql/partiql-spec/issues/63) for more details.**_

### Breaking API changes
* Removes the deprecated V0 AST in the codebase.
Expand Down

1 comment on commit 36aeaa0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JMH Benchmark

Benchmark suite Current: 36aeaa0 Previous: 79e7ad7 Ratio
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLCompiler15 181.18106429412893 us/op 142.5494113651163 us/op 1.27
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLCompiler30 265.86675633448124 us/op 260.69470397997225 us/op 1.02
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator15 577989.45175 us/op 667833.566775 us/op 0.87
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator30 1319299.06445 us/op 1262423.87585 us/op 1.05
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLEvaluator30WithData10 13120971.443200003 us/op 13093375.058400001 us/op 1.00
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLParser15 223.9413677464257 us/op 217.43087492599926 us/op 1.03
org.partiql.jmh.benchmarks.MultipleLikeBenchmark.testPartiQLParser30 426.9564562299852 us/op 422.3664364776306 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameCaseWhenThen 55.20301048729499 us/op 55.35559829981029 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery 75.01881928206943 us/op 73.26179780954477 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery01 414.530518015821 us/op 388.80795095971314 us/op 1.07
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameComplexQuery02 676.2049115465617 us/op 657.908225832627 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameExceptUnionIntersectSixty 257.6093298848457 us/op 257.68548914496586 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameExec20Expressions 86.9412585303792 us/op 84.97132398147264 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameFromLet 57.104463223017376 us/op 55.52731657389895 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGraphPattern 57.76604654404233 us/op 57.11155567029378 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGraphPreFilters 91.01982532931856 us/op 86.95885449374161 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameGroupLimit 61.195328483499225 us/op 59.478975020132985 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameLongFromSourceOrderBy 82.47104800537008 us/op 86.41608692808711 us/op 0.95
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameManyJoins 83.79708255458681 us/op 80.03650804445412 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameNestedAggregates 140.81129981233502 us/op 137.9998744048258 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameNestedParen 26.560068660918233 us/op 26.08135793369135 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNamePivot 91.53793150227231 us/op 87.84093297679041 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuery15OrsAndLikes 270.9971827682097 us/op 273.58870229787334 us/op 0.99
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuery30Plus 153.1995155708268 us/op 145.31316970902904 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryFunc 68.41277543067952 us/op 66.58773282012748 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryFuncInProjection 153.99598618380097 us/op 150.9565739489255 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryList 102.78023163351133 us/op 103.56166114232069 us/op 0.99
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQueryNestedSelect 957.0940803867179 us/op 910.3723928051811 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameQuerySimple 23.310846645219364 us/op 23.791165236210027 us/op 0.98
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralJoins 32.04910493514403 us/op 31.377134958863223 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralProjections 100.06551516671036 us/op 97.32266392773873 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSeveralSelect 261.9873564421158 us/op 260.97871828713176 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSimpleInsert 42.82326469908479 us/op 39.72414874930929 us/op 1.08
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeJoins 31.10649190583148 us/op 30.227921876116973 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeProjections 40.9725298726896 us/op 41.136824387848165 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameSomeSelect 68.44734034579042 us/op 69.20281697419821 us/op 0.99
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameTimeZone 34.870218153244686 us/op 33.774497548346844 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameVeryLongQuery 430.4435595830628 us/op 429.92614018306904 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseFailNameVeryLongQuery01 1308.3715027955527 us/op 1312.7073112567305 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameCaseWhenThen 35.38357220114894 us/op 33.567479100394884 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameComplexQuery 307.06894949770384 us/op 295.0708078349259 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameComplexQuery01 143.638882864122 us/op 132.7187293402409 us/op 1.08
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameExceptUnionIntersectSixty 301.2048913046468 us/op 286.20572462600643 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameExec20Expressions 89.87822446052462 us/op 80.47240879192375 us/op 1.12
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameFromLet 48.0940238920637 us/op 45.82331515803578 us/op 1.05
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGraphPattern 56.03193041413518 us/op 50.35236213571009 us/op 1.11
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGraphPreFilters 92.26027608558712 us/op 85.86056877471978 us/op 1.07
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameGroupLimit 44.87633103435974 us/op 44.359834998196156 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameLongFromSourceOrderBy 162.59090535902445 us/op 162.5644644782017 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameManyJoins 57.80230177235104 us/op 57.00388394276465 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameNestedAggregates 121.65524810084564 us/op 118.46297816004237 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameNestedParen 103.04557657902824 us/op 101.55381843901225 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseNamePivot 84.61696497124572 us/op 81.66910045362144 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuery15OrsAndLikes 236.49464442527506 us/op 218.9376171899055 us/op 1.08
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuery30Plus 81.47657379205913 us/op 78.85817204303251 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryFunc 171.89528028110058 us/op 165.89544150716947 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryFuncInProjection 120.92504278435482 us/op 116.80990877676474 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryList 105.99740794790895 us/op 100.24944883763692 us/op 1.06
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQueryNestedSelect 170.61139809884605 us/op 166.6834880723363 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameQuerySimple 16.864769862348034 us/op 17.167939982116483 us/op 0.98
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralJoins 95.37563359962596 us/op 95.43912784302533 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralProjections 70.55213978131195 us/op 71.22466128487712 us/op 0.99
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSeveralSelect 142.6400755544531 us/op 140.53691060826486 us/op 1.01
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSimpleInsert 28.68591161964835 us/op 28.2461577773391 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeJoins 29.546454005651093 us/op 27.638805357438315 us/op 1.07
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeProjections 24.406872184659598 us/op 24.020135974282745 us/op 1.02
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameSomeSelect 45.424064168305165 us/op 43.7097169328084 us/op 1.04
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameTimeZone 12.225044447715304 us/op 11.894635871811303 us/op 1.03
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameVeryLongQuery 561.4633030979722 us/op 559.033000023721 us/op 1.00
org.partiql.jmh.benchmarks.ParserBenchmark.parseNameVeryLongQuery01 1530.6975949236391 us/op 1500.6965738984259 us/op 1.02
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLCompiler 12.78703403925275 us/op 14.010309724671552 us/op 0.91
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLEvaluator 3.223388168934926 us/op 3.158275020119423 us/op 1.02
org.partiql.jmh.benchmarks.PartiQLBenchmark.testPartiQLParser 16.07503737456039 us/op 15.361508447679057 us/op 1.05

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.