diff options
author | h0pless <h0pless@yandex-team.com> | 2024-02-12 17:15:11 +0300 |
---|---|---|
committer | h0pless <h0pless@yandex-team.com> | 2024-02-12 17:32:05 +0300 |
commit | bb62c852448489e16b64ced5312559b7fabf23f9 (patch) | |
tree | 1787f5839a145e8f0c27f230e8fb3301c7e8950e | |
parent | 3dc1292b97748d01bbf0d9dbdca55f2a2c205274 (diff) | |
download | ydb-bb62c852448489e16b64ced5312559b7fabf23f9.tar.gz |
Parse yamls to get up-to-date schemas for sequoia tables
Automatically parse .yaml record files when running sequoia tests
Add a script to create tables with a correct schema
-rw-r--r-- | build/conf/project_specific/yt.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/conf/project_specific/yt.conf b/build/conf/project_specific/yt.conf index 5bd292108f..215e047009 100644 --- a/build/conf/project_specific/yt.conf +++ b/build/conf/project_specific/yt.conf @@ -1,5 +1,5 @@ macro GENERATE_YT_RECORD(Yaml, OUTPUT_INCLUDES[]) { .CMD=${tool:"yt/yt/tools/record_codegen"} --input ${input:Yaml} --output-root $ARCADIA_BUILD_ROOT --output-cpp ${output;norel;noext;suf=.record.cpp:Yaml} ${output;hide;norel;noext;suf=.record.h:Yaml} ${pre=--output-include :OUTPUT_INCLUDES} ${output_include;hide:OUTPUT_INCLUDES} ${output_include;hide:"yt/yt/client/table_client/record_codegen_deps.h"} ${kv;hide:"p RC"} - .SEM=find_package Python3 && add_custom_command OUTPUT ${output;norel;noext;suf=.record.cpp:Yaml} ${output;norel;noext;suf=.record.h:Yaml} DEPENDS ${input:Yaml} ${input:"yt/yt/tools/record_codegen/__main__.py"} COMMAND Python3::Interpreter ${input:"yt/yt/tools/record_codegen/__main__.py"} --input ${input:Yaml} --output-root $ARCADIA_BUILD_ROOT --output-cpp ${output;norel;noext;suf=.record.cpp:Yaml} ${pre=--output-include :OUTPUT_INCLUDES} ${output;hide;norel;noext;suf=.record.h:Yaml} + .SEM=find_package Python3 && add_custom_command OUTPUT ${output;norel;noext;suf=.record.cpp:Yaml} ${output;norel;noext;suf=.record.h:Yaml} DEPENDS ${input:Yaml} ${input:"yt/yt/tools/record_codegen/__main__.py"} ${input:"yt/python/yt/record_codegen_helpers/__init__.py"} COMMAND ${CMAKE_COMMAND} -E env "PYTHONPATH=$ENV{PYTHONPATH}:${ARCADIA_ROOT}/yt/python/yt" ${Python3_EXECUTABLE} ${input:"yt/yt/tools/record_codegen/__main__.py"} --input ${input:Yaml} --output-root $ARCADIA_BUILD_ROOT --output-cpp ${output;norel;noext;suf=.record.cpp:Yaml} ${pre=--output-include :OUTPUT_INCLUDES} ${output;hide;norel;noext;suf=.record.h:Yaml} PEERDIR(yt/yt/client) } |