-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
## uncomment these when QUERY_DATABEND_ENTERPRISE_LICENSE env is set | ||
|
||
# cat <<SQL | ${BENDSQL} | ||
# CREATE DATABASE IF NOT EXISTS stream_test; | ||
|
||
# CREATE OR REPLACE TABLE stream_test.abc | ||
# ( | ||
# title VARCHAR, | ||
# author VARCHAR, | ||
# date VARCHAR | ||
# ); | ||
|
||
# CREATE OR REPLACE STREAM stream_test.s on table stream_test.abc; | ||
# SQL | ||
|
||
# cat <<SQL | ${BENDSQL} -D stream_test | ||
# DROP TABLE abc | ||
# SQL | ||
|
||
cat <<SQL | ${BENDSQL} -D stream_test | ||
select 1; | ||
SQL | ||
|
||
cat <<SQL | ${BENDSQL} | ||
DROP DATABASE IF EXISTS stream_test; | ||
SQL |