Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ workflows:
matrix:
parameters:
engine:
- doris
- duckdb
- postgres
- mysql
Expand Down
28 changes: 28 additions & 0 deletions .circleci/wait-for-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,34 @@ clickhouse_ready() {
probe_port 8123
}

doris_ready() {
probe_port 9030

echo "Checking for 3 alive Doris backends..."
sleep 15

while true; do
echo "Checking Doris backends..."
ALIVE_BACKENDS=$(docker exec -i doris-fe-01 mysql -h127.0.0.1 -P9030 -uroot -e "show backends \G" | grep -c "^ *Alive: true$")

# fallback value if failed to get number
if ! [[ "$ALIVE_BACKENDS" =~ ^[0-9]+$ ]]; then
echo "WARN: Unable to parse number of alive backends, got: '$ALIVE_BACKENDS'"
ALIVE_BACKENDS=0
fi

echo "Found $ALIVE_BACKENDS alive backends"

if [ "$ALIVE_BACKENDS" -ge 3 ]; then
echo "Doris has 3 or more alive backends"
break
fi

echo "Waiting for more backends to become alive..."
sleep 5
done
}

postgres_ready() {
probe_port 5432
}
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:
python: "3.10"
jobs:
pre_build:
- pip install -e ".[athena,azuresql,bigframes,bigquery,clickhouse,databricks,dbt,dlt,gcppostgres,github,llm,mssql,mysql,mwaa,postgres,redshift,slack,snowflake,trino,web,risingwave]"
- pip install -e ".[athena,azuresql,bigframes,bigquery,clickhouse,databricks,dbt,dlt,doris,gcppostgres,github,llm,mssql,mysql,mwaa,postgres,redshift,slack,snowflake,trino,web,risingwave]"
- make api-docs

mkdocs:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ trino-test: engine-trino-up
risingwave-test: engine-risingwave-up
pytest -n auto -m "risingwave" --reruns 3 --junitxml=test-results/junit-risingwave.xml

doris-test: engine-doris-up
pytest -n auto -m "doris" --reruns 3 --junitxml=test-results/junit-doris.xml

#################
# Cloud Engines #
#################
Expand Down
1 change: 1 addition & 0 deletions docs/concepts/models/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ This table lists each engine's support for `TABLE` and `VIEW` object comments:
| BigQuery | Y | Y |
| ClickHouse | Y | Y |
| Databricks | Y | Y |
| Doris | Y | Y |
| DuckDB <=0.9 | N | N |
| DuckDB >=0.10 | Y | Y |
| MySQL | Y | Y |
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ These pages describe the connection configuration options for each execution eng
* [Athena](../integrations/engines/athena.md)
* [BigQuery](../integrations/engines/bigquery.md)
* [Databricks](../integrations/engines/databricks.md)
* [Doris](../integrations/engines/doris.md)
* [DuckDB](../integrations/engines/duckdb.md)
* [Fabric](../integrations/engines/fabric.md)
* [MotherDuck](../integrations/engines/motherduck.md)
Expand Down Expand Up @@ -950,6 +951,7 @@ Unsupported state engines, even for development:
* [ClickHouse](../integrations/engines/clickhouse.md)
* [Spark](../integrations/engines/spark.md)
* [Trino](../integrations/engines/trino.md)
* [Doris](../integrations/engines/doris.md)

This example gateway configuration uses Snowflake for the data warehouse connection and Postgres for the state backend connection:

Expand Down
1 change: 1 addition & 0 deletions docs/guides/connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ default_gateway: local_db

* [BigQuery](../integrations/engines/bigquery.md)
* [Databricks](../integrations/engines/databricks.md)
* [Doris](../integrations/engines/doris.md)
* [DuckDB](../integrations/engines/duckdb.md)
* [MotherDuck](../integrations/engines/motherduck.md)
* [MySQL](../integrations/engines/mysql.md)
Expand Down
Loading