diff options
author | sabdenovch <sabdenovch@yandex-team.com> | 2024-11-29 02:07:21 +0300 |
---|---|---|
committer | sabdenovch <sabdenovch@yandex-team.com> | 2024-11-29 02:16:43 +0300 |
commit | 7d3110e000f26f0156c09e6b810a63c14a3db202 (patch) | |
tree | fb4d075bd547733fede87acfc65bf9c41fa2846e /yt | |
parent | b708f6403449e1d78ad84727e015580975f76957 (diff) | |
download | ydb-7d3110e000f26f0156c09e6b810a63c14a3db202.tar.gz |
YT-14418: Allow explain-query to work with replicated tables
* Changelog entry
Type: feature
Component: dynamic-tables
Explain query now supports replicated tables.
commit_hash:896486faf1cf408d4435ba11250436a774f9f5a0
Diffstat (limited to 'yt')
-rw-r--r-- | yt/yt/client/api/client_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/yt/client/api/client_common.h b/yt/yt/client/api/client_common.h index 642e32ee9d..f5ece90e35 100644 --- a/yt/yt/client/api/client_common.h +++ b/yt/yt/client/api/client_common.h @@ -140,6 +140,9 @@ struct TSelectRowsOptionsBase : public TTabletReadOptions , public TSuppressableAccessTrackingOptions { + //! Expected schemas for tables in a query (used for replica fallback in replicated tables). + using TExpectedTableSchemas = THashMap<NYPath::TYPath, NTableClient::TTableSchemaPtr>; + TExpectedTableSchemas ExpectedTableSchemas; //! Add |$timestamp:columnName| to result if read_mode is latest_timestamp. NTableClient::TVersionedReadOptions VersionedReadOptions; //! Limits range expanding. @@ -183,9 +186,6 @@ struct TSelectRowsOptions NYson::TYsonString PlaceholderValues; //! Native or WebAssembly execution backend. std::optional<EExecutionBackend> ExecutionBackend; - //! Expected schemas for tables in a query (used for replica fallback in replicated tables). - using TExpectedTableSchemas = THashMap<NYPath::TYPath, NTableClient::TTableSchemaPtr>; - TExpectedTableSchemas ExpectedTableSchemas; //! Explicitly allow or forbid the usage of row cache. std::optional<bool> UseLookupCache; //! Allow queries without any condition on key columns. |