Skip to content

Commit b03fab3

Browse files
committed
Merge remote-tracking branch 'upstream/main' into doris
2 parents aaf3b87 + cef3859 commit b03fab3

File tree

94 files changed

+4055
-1138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+4055
-1138
lines changed

.circleci/install-prerequisites.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@ echo "Installing OS-level dependencies: $ALL_DEPENDENCIES"
3434

3535
sudo apt-get clean && sudo apt-get -y update && sudo ACCEPT_EULA='Y' apt-get -y install $ALL_DEPENDENCIES
3636

37+
if [ "$ENGINE" == "spark" ]; then
38+
echo "Using Java version for spark:"
39+
java -version
40+
fi
41+
3742
echo "All done"

.circleci/manage-test-db.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ databricks_init() {
5151

5252
# Note: the cluster doesnt need to be running to create / drop catalogs, but it does need to be running to run the integration tests
5353
echo "Ensuring cluster is running"
54-
databricks clusters start $CLUSTER_ID
54+
# the || true is to prevent the following error from causing an abort:
55+
# > Error: is in unexpected state Running.
56+
databricks clusters start $CLUSTER_ID || true
5557
}
5658

5759
databricks_up() {

Makefile

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ dbt-test:
138138
pytest -n auto -m "dbt and not cicdonly"
139139

140140
dbt-fast-test:
141-
pytest -n auto -m "dbt and fast" --retries 3
141+
pytest -n auto -m "dbt and fast" --reruns 3
142142

143143
github-test:
144144
pytest -n auto -m "github"
@@ -173,60 +173,61 @@ engine-%-down:
173173
##################
174174

175175
clickhouse-test: engine-clickhouse-up
176-
pytest -n auto -m "clickhouse" --retries 3 --junitxml=test-results/junit-clickhouse.xml
176+
pytest -n auto -m "clickhouse" --reruns 3 --junitxml=test-results/junit-clickhouse.xml
177177

178178
duckdb-test: engine-duckdb-install
179-
pytest -n auto -m "duckdb" --retries 3 --junitxml=test-results/junit-duckdb.xml
179+
pytest -n auto -m "duckdb" --reruns 3 --junitxml=test-results/junit-duckdb.xml
180180

181181
mssql-test: engine-mssql-up
182-
pytest -n auto -m "mssql" --retries 3 --junitxml=test-results/junit-mssql.xml
182+
pytest -n auto -m "mssql" --reruns 3 --junitxml=test-results/junit-mssql.xml
183183

184184
mysql-test: engine-mysql-up
185-
pytest -n auto -m "mysql" --retries 3 --junitxml=test-results/junit-mysql.xml
185+
pytest -n auto -m "mysql" --reruns 3 --junitxml=test-results/junit-mysql.xml
186186

187187
postgres-test: engine-postgres-up
188-
pytest -n auto -m "postgres" --retries 3 --junitxml=test-results/junit-postgres.xml
188+
pytest -n auto -m "postgres" --reruns 3 --junitxml=test-results/junit-postgres.xml
189189

190190
spark-test: engine-spark-up
191-
pytest -n auto -m "spark" --retries 3 --junitxml=test-results/junit-spark.xml
191+
pytest -n auto -m "spark" --reruns 3 --junitxml=test-results/junit-spark.xml && pytest -n auto -m "pyspark" --reruns 3 --junitxml=test-results/junit-pyspark.xml
192192

193193
trino-test: engine-trino-up
194-
pytest -n auto -m "trino" --retries 3 --junitxml=test-results/junit-trino.xml
194+
pytest -n auto -m "trino" --reruns 3 --junitxml=test-results/junit-trino.xml
195195

196196
risingwave-test: engine-risingwave-up
197-
pytest -n auto -m "risingwave" --retries 3 --junitxml=test-results/junit-risingwave.xml
198-
197+
pytest -n auto -m "risingwave" --reruns 3 --junitxml=test-results/junit-risingwave.xml
198+
199199
doris-test: engine-doris-up
200-
pytest -n auto -m "doris" --retries 3 --junitxml=test-results/junit-doris.xml
200+
pytest -n auto -m "doris" --reruns 3 --junitxml=test-results/junit-doris.xml
201+
201202
#################
202203
# Cloud Engines #
203204
#################
204205

205206
snowflake-test: guard-SNOWFLAKE_ACCOUNT guard-SNOWFLAKE_WAREHOUSE guard-SNOWFLAKE_DATABASE guard-SNOWFLAKE_USER guard-SNOWFLAKE_PASSWORD engine-snowflake-install
206-
pytest -n auto -m "snowflake" --retries 3 --junitxml=test-results/junit-snowflake.xml
207+
pytest -n auto -m "snowflake" --reruns 3 --junitxml=test-results/junit-snowflake.xml
207208

208209
bigquery-test: guard-BIGQUERY_KEYFILE engine-bigquery-install
209210
$(PIP) install -e ".[bigframes]"
210-
pytest -n auto -m "bigquery" --retries 3 --junitxml=test-results/junit-bigquery.xml
211+
pytest -n auto -m "bigquery" --reruns 3 --junitxml=test-results/junit-bigquery.xml
211212

212213
databricks-test: guard-DATABRICKS_CATALOG guard-DATABRICKS_SERVER_HOSTNAME guard-DATABRICKS_HTTP_PATH guard-DATABRICKS_ACCESS_TOKEN guard-DATABRICKS_CONNECT_VERSION engine-databricks-install
213214
$(PIP) install 'databricks-connect==${DATABRICKS_CONNECT_VERSION}'
214-
pytest -n auto -m "databricks" --retries 3 --junitxml=test-results/junit-databricks.xml
215+
pytest -n auto -m "databricks" --reruns 3 --junitxml=test-results/junit-databricks.xml
215216

216217
redshift-test: guard-REDSHIFT_HOST guard-REDSHIFT_USER guard-REDSHIFT_PASSWORD guard-REDSHIFT_DATABASE engine-redshift-install
217-
pytest -n auto -m "redshift" --retries 3 --junitxml=test-results/junit-redshift.xml
218+
pytest -n auto -m "redshift" --reruns 3 --junitxml=test-results/junit-redshift.xml
218219

219220
clickhouse-cloud-test: guard-CLICKHOUSE_CLOUD_HOST guard-CLICKHOUSE_CLOUD_USERNAME guard-CLICKHOUSE_CLOUD_PASSWORD engine-clickhouse-install
220-
pytest -n 1 -m "clickhouse_cloud" --retries 3 --junitxml=test-results/junit-clickhouse-cloud.xml
221+
pytest -n 1 -m "clickhouse_cloud" --reruns 3 --junitxml=test-results/junit-clickhouse-cloud.xml
221222

222223
athena-test: guard-AWS_ACCESS_KEY_ID guard-AWS_SECRET_ACCESS_KEY guard-ATHENA_S3_WAREHOUSE_LOCATION engine-athena-install
223-
pytest -n auto -m "athena" --retries 3 --junitxml=test-results/junit-athena.xml
224+
pytest -n auto -m "athena" --reruns 3 --junitxml=test-results/junit-athena.xml
224225

225226
fabric-test: guard-FABRIC_HOST guard-FABRIC_CLIENT_ID guard-FABRIC_CLIENT_SECRET guard-FABRIC_DATABASE engine-fabric-install
226-
pytest -n auto -m "fabric" --retries 3 --junitxml=test-results/junit-fabric.xml
227+
pytest -n auto -m "fabric" --reruns 3 --junitxml=test-results/junit-fabric.xml
227228

228229
gcp-postgres-test: guard-GCP_POSTGRES_INSTANCE_CONNECTION_STRING guard-GCP_POSTGRES_USER guard-GCP_POSTGRES_PASSWORD guard-GCP_POSTGRES_KEYFILE_JSON engine-gcppostgres-install
229-
pytest -n auto -m "gcp_postgres" --retries 3 --junitxml=test-results/junit-gcp-postgres.xml
230+
pytest -n auto -m "gcp_postgres" --reruns 3 --junitxml=test-results/junit-gcp-postgres.xml
230231

231232
vscode_settings:
232233
mkdir -p .vscode

docs/concepts/models/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ This table lists each engine's support for `TABLE` and `VIEW` object comments:
181181
| BigQuery | Y | Y |
182182
| ClickHouse | Y | Y |
183183
| Databricks | Y | Y |
184+
| Doris | Y | Y |
184185
| DuckDB <=0.9 | N | N |
185186
| DuckDB >=0.10 | Y | Y |
186187
| MySQL | Y | Y |

docs/guides/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ These pages describe the connection configuration options for each execution eng
908908
* [Athena](../integrations/engines/athena.md)
909909
* [BigQuery](../integrations/engines/bigquery.md)
910910
* [Databricks](../integrations/engines/databricks.md)
911+
* [Doris](../integrations/engines/doris.md)
911912
* [DuckDB](../integrations/engines/duckdb.md)
912913
* [Fabric](../integrations/engines/fabric.md)
913914
* [MotherDuck](../integrations/engines/motherduck.md)
@@ -950,6 +951,7 @@ Unsupported state engines, even for development:
950951
* [ClickHouse](../integrations/engines/clickhouse.md)
951952
* [Spark](../integrations/engines/spark.md)
952953
* [Trino](../integrations/engines/trino.md)
954+
* [Doris](../integrations/engines/doris.md)
953955

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

docs/guides/connections.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ default_gateway: local_db
8181

8282
* [BigQuery](../integrations/engines/bigquery.md)
8383
* [Databricks](../integrations/engines/databricks.md)
84+
* [Doris](../integrations/engines/doris.md)
8485
* [DuckDB](../integrations/engines/duckdb.md)
8586
* [MotherDuck](../integrations/engines/motherduck.md)
8687
* [MySQL](../integrations/engines/mysql.md)

0 commit comments

Comments
 (0)