Skip to content
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

[TEST] Add Date test for Spark on ClickHouse #345

Merged
merged 1 commit into from
May 21, 2021
Merged

[TEST] Add Date test for Spark on ClickHouse #345

merged 1 commit into from
May 21, 2021

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented May 19, 2021

@Guanpx Add a test for #343 and everything works as expected.

@codecov
Copy link

codecov bot commented May 19, 2021

Codecov Report

Merging #345 (a9dd512) into master (21cbb5e) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #345      +/-   ##
============================================
+ Coverage     61.83%   61.86%   +0.03%     
- Complexity     1190     1191       +1     
============================================
  Files           131      131              
  Lines          6399     6399              
  Branches        475      475              
============================================
+ Hits           3957     3959       +2     
+ Misses         2174     2173       -1     
+ Partials        268      267       -1     
Impacted Files Coverage Δ Complexity Δ
...c/statement/ClickHousePreparedInsertStatement.java 49.35% <0.00%> (+1.29%) 35.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21cbb5e...a9dd512. Read the comment docs.

@github-actions
Copy link

BENCHMARK_REPORT
Benchmark                                                  (batchSize)  (columnNum)  (selectNumber)  Mode  Cnt      Score   Error  Units
InsertIBenchmark.benchInsertHttp                                200000           20             N/A  avgt         573.628          ms/op
InsertIBenchmark.benchInsertHttp                                200000           50             N/A  avgt         351.566          ms/op
InsertIBenchmark.benchInsertHttp                                500000           20             N/A  avgt        1009.300          ms/op
InsertIBenchmark.benchInsertHttp                                500000           50             N/A  avgt         960.238          ms/op
InsertIBenchmark.benchInsertNative                              200000           20             N/A  avgt         151.096          ms/op
InsertIBenchmark.benchInsertNative                              200000           50             N/A  avgt         159.194          ms/op
InsertIBenchmark.benchInsertNative                              500000           20             N/A  avgt         339.622          ms/op
InsertIBenchmark.benchInsertNative                              500000           50             N/A  avgt         346.489          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary              200000           20             N/A  avgt         172.873          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary              200000           50             N/A  avgt         381.448          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary              500000           20             N/A  avgt         385.357          ms/op
RowBinaryDoubleIBenchmark.benchInsertHttpRowBinary              500000           50             N/A  avgt         916.829          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative                     200000           20             N/A  avgt         794.170          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative                     200000           50             N/A  avgt        2025.796          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative                     500000           20             N/A  avgt        1777.321          ms/op
RowBinaryDoubleIBenchmark.benchInsertNative                     500000           50             N/A  avgt        4825.436          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary                 200000           20             N/A  avgt         191.416          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary                 200000           50             N/A  avgt         452.549          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary                 500000           20             N/A  avgt         456.748          ms/op
RowBinaryIntIBenchmark.benchInsertHttpRowBinary                 500000           50             N/A  avgt        1321.657          ms/op
RowBinaryIntIBenchmark.benchInsertNative                        200000           20             N/A  avgt         517.718          ms/op
RowBinaryIntIBenchmark.benchInsertNative                        200000           50             N/A  avgt        1361.347          ms/op
RowBinaryIntIBenchmark.benchInsertNative                        500000           20             N/A  avgt        1304.734          ms/op
RowBinaryIntIBenchmark.benchInsertNative                        500000           50             N/A  avgt        3113.482          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary              200000           20             N/A  avgt         518.692          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary              200000           50             N/A  avgt        1298.663          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary              500000           20             N/A  avgt        1259.744          ms/op
RowBinaryStringIBenchmark.benchInsertHttpRowBinary              500000           50             N/A  avgt        3341.997          ms/op
RowBinaryStringIBenchmark.benchInsertNative                     200000           20             N/A  avgt         788.272          ms/op
RowBinaryStringIBenchmark.benchInsertNative                     200000           50             N/A  avgt        1943.736          ms/op
RowBinaryStringIBenchmark.benchInsertNative                     500000           20             N/A  avgt        1891.350          ms/op
RowBinaryStringIBenchmark.benchInsertNative                     500000           50             N/A  avgt        5206.143          ms/op
SelectIBenchmark.benchSelectHTTP                                   N/A          N/A          500000  avgt        1352.106          ms/op
SelectIBenchmark.benchSelectHTTP                                   N/A          N/A        10000000  avgt       29220.464          ms/op
SelectIBenchmark.benchSelectNative                                 N/A          N/A          500000  avgt         357.312          ms/op
SelectIBenchmark.benchSelectNative                                 N/A          N/A        10000000  avgt        6848.698          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp                200000           20             N/A  avgt         868.230          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp                200000           50             N/A  avgt        2277.678          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp                500000           20             N/A  avgt        2274.366          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertHttp                500000           50             N/A  avgt        6084.409          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative              200000           20             N/A  avgt         777.790          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative              200000           50             N/A  avgt        2049.578          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative              500000           20             N/A  avgt        1831.656          ms/op
WideColumnDoubleInsertIBenchmark.benchInsertNative              500000           50             N/A  avgt        4814.637          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp                   200000           20             N/A  avgt         448.339          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp                   200000           50             N/A  avgt        1097.957          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp                   500000           20             N/A  avgt        1168.170          ms/op
WideColumnIntInsertIBenchmark.benchInsertHttp                   500000           50             N/A  avgt        2740.233          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative                 200000           20             N/A  avgt         496.352          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative                 200000           50             N/A  avgt        1250.799          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative                 500000           20             N/A  avgt        1336.997          ms/op
WideColumnIntInsertIBenchmark.benchInsertNative                 500000           50             N/A  avgt        3177.390          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp                200000           20             N/A  avgt         582.722          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp                200000           50             N/A  avgt        1378.763          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp                500000           20             N/A  avgt        1495.004          ms/op
WideColumnStringInsertIBenchmark.benchInsertHttp                500000           50             N/A  avgt        3456.641          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative              200000           20             N/A  avgt         816.544          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative              200000           50             N/A  avgt        2062.835          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative              500000           20             N/A  avgt        1921.722          ms/op
WideColumnStringInsertIBenchmark.benchInsertNative              500000           50             N/A  avgt        4938.585          ms/op

@pan3793 pan3793 merged commit 73b6973 into master May 21, 2021
@pan3793 pan3793 deleted the 343 branch May 21, 2021 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant