Skip to content
Closed
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
11 changes: 11 additions & 0 deletions docs/src/main/sphinx/connector/allow-drop-table-config.fragment
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DROP TABLE
^^^^^^^^^^

The connector disables use of :doc:`/sql/drop-table` statements by default.
To enable these statements, configure the ``allow-drop-table`` catalog
configuration property:

.. code-block:: properties

allow-drop-table=true

2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/clickhouse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,5 @@ statements, the connector supports the following features:
* :ref:`sql-schema-table-management`

.. include:: alter-schema-limitation.fragment

.. include:: allow-drop-table-config.fragment
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ connector:
session property </sql/set-session>` is ``join_pushdown_enabled``. Enabling
this may negatively impact performance for some queries.
- ``false``
* - ``allow-drop-table``
- Enable :doc:`/sql/drop-table` statements if supported by the connector.
- ``false``
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/memsql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ statements, the connector supports the following features:
.. include:: sql-delete-limitation.fragment

.. include:: alter-table-limitation.fragment

.. include:: allow-drop-table-config.fragment
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/mysql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,5 @@ the following statements:
* :doc:`/sql/drop-schema`

.. include:: sql-delete-limitation.fragment

.. include:: allow-drop-table-config.fragment
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/oracle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -457,3 +457,5 @@ supports the following statements:
.. include:: sql-delete-limitation.fragment

.. include:: alter-table-limitation.fragment

.. include:: allow-drop-table-config.fragment
12 changes: 12 additions & 0 deletions docs/src/main/sphinx/connector/phoenix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,15 @@ statements, the connector supports the following features:
* :doc:`/sql/drop-schema`

.. include:: sql-delete-limitation.fragment

DROP TABLE
^^^^^^^^^^

The connector allows use of :doc:`/sql/drop-table` statements by default.
To disable these statements, configure the ``allow-drop-table`` catalog
configuration property:

.. code-block:: properties

allow-drop-table=false

2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/postgresql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ statements, the connector supports the following features:

.. include:: alter-schema-limitation.fragment

.. include:: allow-drop-table-config.fragment

.. _postgresql-pushdown:

Pushdown
Expand Down
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/redshift.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,5 @@ statements, the connector supports the following features:
.. include:: alter-table-limitation.fragment

.. include:: alter-schema-limitation.fragment

.. include:: allow-drop-table-config.fragment
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/connector/sqlserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ supports the following features:

.. include:: alter-table-limitation.fragment

.. include:: allow-drop-table-config.fragment

.. _sqlserver-pushdown:

Pushdown
Expand Down