mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Support Tableau
This commit is contained in:
parent
e84f0895e7
commit
f47375d16c
@ -719,8 +719,12 @@
|
|||||||
<!-- Default profile of settings. -->
|
<!-- Default profile of settings. -->
|
||||||
<default_profile>default</default_profile>
|
<default_profile>default</default_profile>
|
||||||
|
|
||||||
<!-- Comma-separated list of prefixes for user-defined settings. -->
|
<!-- Comma-separated list of prefixes for user-defined settings.
|
||||||
<custom_settings_prefixes></custom_settings_prefixes>
|
The server will allow to set these settings, and retrieve them with the getSetting function.
|
||||||
|
They are also logged in the query_log, similarly to other settings, but have no special effect.
|
||||||
|
The "SQL_" prefix is introduced for compatibility with MySQL - these settings are being set be Tableau.
|
||||||
|
-->
|
||||||
|
<custom_settings_prefixes>SQL_</custom_settings_prefixes>
|
||||||
|
|
||||||
<!-- System profile of settings. This settings are used by internal processes (Distributed DDL worker and so on). -->
|
<!-- System profile of settings. This settings are used by internal processes (Distributed DDL worker and so on). -->
|
||||||
<!-- <system_profile>default</system_profile> -->
|
<!-- <system_profile>default</system_profile> -->
|
||||||
|
@ -98,9 +98,9 @@ DynamicResourceManager::State::Resource::~Resource()
|
|||||||
if (attached_to != nullptr)
|
if (attached_to != nullptr)
|
||||||
{
|
{
|
||||||
ISchedulerNode * root = nodes.find("/")->second.ptr.get();
|
ISchedulerNode * root = nodes.find("/")->second.ptr.get();
|
||||||
attached_to->event_queue->enqueue([scheduler = attached_to, root]
|
attached_to->event_queue->enqueue([my_scheduler = attached_to, root]
|
||||||
{
|
{
|
||||||
scheduler->removeChild(root);
|
my_scheduler->removeChild(root);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
0
|
2
tests/queries/0_stateless/02737_sql_auto_is_null.sql
Normal file
2
tests/queries/0_stateless/02737_sql_auto_is_null.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SET SQL_AUTO_IS_NULL = 0;
|
||||||
|
SELECT getSetting('SQL_AUTO_IS_NULL');
|
Loading…
Reference in New Issue
Block a user