[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2025-03-18 Thread Weijie Guo (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Guo updated FLINK-32873:
---
Fix Version/s: 2.1.0
   (was: 2.0.0)

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Affects Versions: 2.1.0
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.1.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2025-03-18 Thread Weijie Guo (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Guo updated FLINK-32873:
---
Affects Version/s: 2.1.0

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Affects Versions: 2.1.0
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.0.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2024-07-10 Thread Weijie Guo (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Guo updated FLINK-32873:
---
Fix Version/s: 2.0.0
   (was: 1.20.0)

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 2.0.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2024-03-11 Thread lincoln lee (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lincoln lee updated FLINK-32873:

Fix Version/s: (was: 1.19.0)

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.20.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2024-03-11 Thread lincoln lee (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lincoln lee updated FLINK-32873:

Fix Version/s: 1.20.0

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.19.0, 1.20.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2023-10-13 Thread Jing Ge (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Ge updated FLINK-32873:

Fix Version/s: 1.19.0
   (was: 1.18.0)

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Assignee: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.19.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2023-09-27 Thread Bonnie Varghese (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bonnie Varghese updated FLINK-32873:

Description: 
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

 
{code:java}
Name: table.optimizer.query-hints.enabled
Description: Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified
Note: The default value will be set to true.
{code}
 

  was:
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

 
{code:java}
Name: table.optimizer.enable-query-hints
Description: Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified
Note: The default value will be set to true.
{code}
 


> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.18.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.query-hints.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2023-09-27 Thread Bonnie Varghese (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bonnie Varghese updated FLINK-32873:

Description: 
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

 
{code:java}
Name: table.optimizer.enable-query-hints
Description: Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified
Note: The default value will be set to true.
{code}
 

  was:
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

 
{code:java}
Name: table.query-options.enabled
Description: Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified
Note: The default value will be set to true.
{code}
 


> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.18.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.optimizer.enable-query-hints
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2023-08-15 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-32873:
---
Labels: pull-request-available  (was: )

> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.18.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.query-options.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-32873) Add configuration to allow disabling SQL query hints

2023-08-15 Thread Bonnie Varghese (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-32873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bonnie Varghese updated FLINK-32873:

Description: 
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

 
{code:java}
Name: table.query-options.enabled
Description: Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified
Note: The default value will be set to true.
{code}
 

  was:
Platform providers may want to disable hints completely for security reasons.

Currently, there is a configuration to disable OPTIONS hint - 
[https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]

We need a new configuration to also disable QUERY hints - 
[https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]

The proposal is to add a new configuration:

Name: `table.query-options.enabled`

Description: `Enable or disable the QUERY hint, if disabled, an exception would 
be thrown if any QUERY hints are specified`

The default value will be set to true.


> Add configuration to allow disabling SQL query hints
> 
>
> Key: FLINK-32873
> URL: https://issues.apache.org/jira/browse/FLINK-32873
> Project: Flink
>  Issue Type: Improvement
>  Components: Table SQL / Planner
>Reporter: Bonnie Varghese
>Priority: Minor
> Fix For: 1.18.0
>
>
> Platform providers may want to disable hints completely for security reasons.
> Currently, there is a configuration to disable OPTIONS hint - 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/config/#table-dynamic-table-options-enabled]
> We need a new configuration to also disable QUERY hints - 
> [https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/dev/table/sql/queries/hints/#query-hints]
> The proposal is to add a new configuration:
>  
> {code:java}
> Name: table.query-options.enabled
> Description: Enable or disable the QUERY hint, if disabled, an exception 
> would be thrown if any QUERY hints are specified
> Note: The default value will be set to true.
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)