Skip to content

Commit

Permalink
[MINOR] Use uc.version (0.3.0-SNAPSHOT can be built from the repo)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Oct 17, 2024
1 parent 97fe981 commit dc0f01a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/demo/crud-external-delta-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,12 @@ Table written to successfully at: file:///tmp/delta_table/

## Spark Connector

=== "Spark 3.5.1 + Delta Lake 3.2.0"
=== "Spark 3.5.1 + Delta Lake {{ delta.version }}"

``` bash
./bin/spark-shell \
--packages \
io.delta:delta-spark_2.13:3.2.0,io.unitycatalog:unitycatalog-spark:0.2.0-SNAPSHOT \
io.delta:delta-spark_2.13:{{ delta.version }},io.unitycatalog:unitycatalog-spark:{{ uc.version }} \
--conf spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension \
--conf spark.sql.catalog.spark_catalog=io.unitycatalog.connectors.spark.UCSingleCatalog \
--conf spark.sql.catalog.spark_catalog.uri=http://localhost:8080 \
Expand Down
2 changes: 1 addition & 1 deletion docs/demo/spark-connector-and-external-tables-on-aws-s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hide:
``` bash
./bin/spark-sql \
--name "uc-external-tables-s3" \
--packages "org.apache.hadoop:hadoop-aws:3.3.4,io.delta:delta-spark_{{ scala.version }}:{{ delta.version }},io.unitycatalog:unitycatalog-spark_{{ scala.version }}:0.2.0-SNAPSHOT" \
--packages "org.apache.hadoop:hadoop-aws:3.3.4,io.delta:delta-spark_{{ scala.version }}:{{ delta.version }},io.unitycatalog:unitycatalog-spark_{{ scala.version }}:{{ uc.version }}" \
--conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" \
--conf "spark.sql.catalog.spark_catalog=io.unitycatalog.spark.UCSingleCatalog" \
--conf "spark.hadoop.fs.s3.impl=org.apache.hadoop.fs.s3a.S3AFileSystem" \
Expand Down
2 changes: 1 addition & 1 deletion docs/docker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ As of [this commit]({{ uc.commit }}/7564c7771ed655feb11ba3d5789fd3b7065a99ee), U
```console
$ docker image ls --filter=reference='unitycatalog:*'
REPOSITORY TAG IMAGE ID CREATED SIZE
unitycatalog 0.2.0-SNAPSHOT c788d0d453b6 8 minutes ago 329MB
unitycatalog {{ uc.version }} c788d0d453b6 8 minutes ago 329MB
```

```console
Expand Down
14 changes: 7 additions & 7 deletions docs/features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ OpenJDK Runtime Environment Zulu17.52+17-CA (build 17.0.12+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.52+17-CA (build 17.0.12+7-LTS, mixed mode, sharing)
```

```text
$ ./bin/start-uc-server
``` text
./bin/start-uc-server
###################################################################
# _ _ _ _ _____ _ _ #
# | | | | (_) | / ____| | | | | #
Expand All @@ -57,20 +57,20 @@ $ ./bin/start-uc-server
# | |__| | | | | | |_| |_| | | |___| (_| | || (_| | | (_) | (_| | #
# \____/|_| |_|_|\__|\__, | \_____\__,_|\__\__,_|_|\___/ \__, | #
# __/ | __/ | #
# |___/ v0.2.0-SNAPSHOT |___/ #
# |___/ v0.3.0-SNAPSHOT |___/ #
###################################################################
```

```text
$ ./bin/uc
``` text
./bin/uc
Please provide a entity.
Usage: bin/uc <entity> <operation> [options]
Entities: schema, volume, catalog, function, table
Entities: schema, volume, model_version, auth, catalog, function, permission, registered_model, user, table
By default, the client will connect to UC running locally at http://localhost:8080
To connect to specific UC server, use --server https://<host>
To connect to specific UC server, use --server https://<host>:<port>
Currently, auth using bearer token is supported. Please specify the token via --auth_token <PAT Token>
Expand Down

0 comments on commit dc0f01a

Please sign in to comment.