Skip to content

Commit

Permalink
[FLINK-33587][docs] Tidy up docs around JDBC
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoff committed Nov 27, 2023
1 parent d351c5b commit 00785b0
Show file tree
Hide file tree
Showing 5 changed files with 343 additions and 350 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ statement you execute. There's no need to restart a session to use a different d

- To use Hive dialect, you have to add dependencies related to Hive. Please refer to [Hive dependencies]({{< ref "docs/connectors/table/hive/overview" >}}#dependencies) for how to add the dependencies.
- Please make sure the current catalog is [HiveCatalog]({{< ref "docs/connectors/table/hive/hive_catalog" >}}). Otherwise, it will fall back to Flink's `default` dialect.
When using SQL Gateway configured with [HiveServer2 Endpoint]({{< ref "docs/dev/table/hive-compatibility/hiveserver2" >}}), the current catalog will be a HiveCatalog by default.
When using SQL Gateway configured with [HiveServer2 Endpoint]({{< ref "docs/dev/table/sql-gateway/hiveserver2" >}}), the current catalog will be a HiveCatalog by default.
- In order to have better syntax and semantic compatibility, it’s highly recommended to load [HiveModule]({{< ref "docs/connectors/table/hive/hive_functions" >}}#use-hive-built-in-functions-via-hivemodule) and
place it first in the module list, so that Hive built-in functions can be picked up during function resolution.
Please refer [here]({{< ref "docs/dev/table/modules" >}}#how-to-load-unload-use-and-list-modules) for how to change resolution order.
Expand All @@ -64,7 +64,7 @@ Flink SQL> SET table.sql-dialect = default; -- to use Flink default dialect

### SQL Gateway Configured With HiveServer2 Endpoint

When using the SQL Gateway configured with HiveServer2 Endpoint, the dialect will be Hive dialect by default, so you don't need to do anything if you want to use Hive dialect. But you can still
When using the [SQL Gateway configured with HiveServer2 Endpoint]({{<ref "docs/dev/table/sql-gateway/hiveserver2">}}), the dialect will be Hive dialect by default, so you don't need to do anything if you want to use Hive dialect. But you can still
change the dialect to Flink default dialect.

```bash
Expand Down
316 changes: 0 additions & 316 deletions docs/content/docs/dev/table/hive-compatibility/hiveserver2.md

This file was deleted.

Loading

0 comments on commit 00785b0

Please sign in to comment.