Skip to content

Commit

Permalink
Merge pull request #9610 from xudong963/chore_comments
Browse files Browse the repository at this point in the history
chore: replace ## to # for comment in test file
  • Loading branch information
mergify[bot] authored Jan 15, 2023
2 parents c67da9d + 0d03849 commit f962bbc
Show file tree
Hide file tree
Showing 78 changed files with 4,855 additions and 4,855 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ fi
echo "Run suites using argument: $RUN_DIR"

echo "Starting databend-sqllogic tests"
target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --enable_sandbox --parallel 8
target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --enable_sandbox --parallel 8 --debug
2 changes: 1 addition & 1 deletion scripts/ci/ci-run-sqllogic-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ fi
echo "Run suites using argument: $RUN_DIR"

echo "Starting databend-sqllogic tests"
target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --enable_sandbox --parallel 8
target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --enable_sandbox --parallel 8 --debug
2 changes: 1 addition & 1 deletion tests/sqllogictests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This is Databend's [sqllogictest](https://www.sqlite.org/sqllogictest/doc/trunk/about.wiki) implementation. It uses [sqllogictest-rs](https://github.com/risinglightdb/sqllogictest-rs) to parse test files and run test cases.

### Basic usage
You can directly run the following commands under databend directory
Before running the following commands, you should generate **databend-sqllogictests** binary file.

---
Run all tests under the three handlers(mysql, http, clickhouse) in turn.
Expand Down
20 changes: 10 additions & 10 deletions tests/sqllogictests/suites/base/01_system/01_0002_system_query_log
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ create table tbl_01_0002(a int)
statement ok
insert into tbl_01_0002 values(1)

## TODO sometimes get empty result
## query I
## select written_rows from system.query_log where query_text='insert into tbl_01_0002 values(1)' and written_rows != 0
# TODO sometimes get empty result
# query I
# select written_rows from system.query_log where query_text='insert into tbl_01_0002 values(1)' and written_rows != 0

## ----
## 1
# ----
# 1

statement ok
insert into tbl_01_0002 values(2)
Expand All @@ -35,12 +35,12 @@ select count(*) from tbl_01_0002 where a > 1
----
1

## TODO sometimes get 0 here
## query I
## select count(1) from system.query_log where query_text='select count(*) from tbl_01_0002 where a > 1' and scan_partitions = 1 and total_partitions = 2
# TODO sometimes get 0 here
# query I
# select count(1) from system.query_log where query_text='select count(*) from tbl_01_0002 where a > 1' and scan_partitions = 1 and total_partitions = 2

## ----
## 1
# ----
# 1

statement ok
drop table tbl_01_0002
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## https://github.com/datafuselabs/databend/issues/8792
## query TT
## select command, database from system.processes
# https://github.com/datafuselabs/databend/issues/8792
# query TT
# select command, database from system.processes

## ----
## Query default
# ----
# Query default

Loading

1 comment on commit f962bbc

@vercel
Copy link

@vercel vercel bot commented on f962bbc Jan 15, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

databend – ./

databend.vercel.app
databend-databend.vercel.app
databend-git-main-databend.vercel.app
databend.rs

Please sign in to comment.