This commit is contained in:
Sema Checherinda 2024-12-04 22:47:45 +01:00
parent 0a85fc6524
commit c866e38454
2 changed files with 5 additions and 10 deletions

View File

@ -1,4 +1,7 @@
import sys
#!/usr/bin/env python3
# Tags: no-fasttest
import os
from clickhouse_driver import Client
@ -11,5 +14,5 @@ def run(database):
if __name__ == "__main__":
database = sys.argv[1]
database = os.environ["CLICKHOUSE_DATABASE"]
run(database)

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
# Tags: no-fasttest
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
python3 03279_with_clickhouse_driver.py $CLICKHOUSE_DATABASE