Browse Source

Add TABLE object type

nsofya 1 year ago
parent
commit
18e4a43a37

+ 5 - 0
.mapping.json

@@ -4585,6 +4585,11 @@
   "ydb/core/kqp/gateway/behaviour/external_data_source/CMakeLists.linux-x86_64.txt":"",
   "ydb/core/kqp/gateway/behaviour/external_data_source/CMakeLists.txt":"",
   "ydb/core/kqp/gateway/behaviour/external_data_source/CMakeLists.windows-x86_64.txt":"",
+  "ydb/core/kqp/gateway/behaviour/table/CMakeLists.darwin-x86_64.txt":"",
+  "ydb/core/kqp/gateway/behaviour/table/CMakeLists.linux-aarch64.txt":"",
+  "ydb/core/kqp/gateway/behaviour/table/CMakeLists.linux-x86_64.txt":"",
+  "ydb/core/kqp/gateway/behaviour/table/CMakeLists.txt":"",
+  "ydb/core/kqp/gateway/behaviour/table/CMakeLists.windows-x86_64.txt":"",
   "ydb/core/kqp/gateway/behaviour/tablestore/CMakeLists.darwin-x86_64.txt":"",
   "ydb/core/kqp/gateway/behaviour/tablestore/CMakeLists.linux-aarch64.txt":"",
   "ydb/core/kqp/gateway/behaviour/tablestore/CMakeLists.linux-x86_64.txt":"",

+ 1 - 0
ydb/core/kqp/gateway/CMakeLists.darwin-x86_64.txt

@@ -25,6 +25,7 @@ target_link_libraries(core-kqp-gateway PUBLIC
   core-kqp-query_data
   kqp-gateway-actors
   gateway-behaviour-tablestore
+  gateway-behaviour-table
   gateway-behaviour-external_data_source
   providers-result-expr_nodes
 )

+ 1 - 0
ydb/core/kqp/gateway/CMakeLists.linux-aarch64.txt

@@ -26,6 +26,7 @@ target_link_libraries(core-kqp-gateway PUBLIC
   core-kqp-query_data
   kqp-gateway-actors
   gateway-behaviour-tablestore
+  gateway-behaviour-table
   gateway-behaviour-external_data_source
   providers-result-expr_nodes
 )

+ 1 - 0
ydb/core/kqp/gateway/CMakeLists.linux-x86_64.txt

@@ -26,6 +26,7 @@ target_link_libraries(core-kqp-gateway PUBLIC
   core-kqp-query_data
   kqp-gateway-actors
   gateway-behaviour-tablestore
+  gateway-behaviour-table
   gateway-behaviour-external_data_source
   providers-result-expr_nodes
 )

+ 1 - 0
ydb/core/kqp/gateway/CMakeLists.windows-x86_64.txt

@@ -25,6 +25,7 @@ target_link_libraries(core-kqp-gateway PUBLIC
   core-kqp-query_data
   kqp-gateway-actors
   gateway-behaviour-tablestore
+  gateway-behaviour-table
   gateway-behaviour-external_data_source
   providers-result-expr_nodes
 )

+ 1 - 0
ydb/core/kqp/gateway/behaviour/CMakeLists.txt

@@ -7,4 +7,5 @@
 
 
 add_subdirectory(external_data_source)
+add_subdirectory(table)
 add_subdirectory(tablestore)

+ 28 - 0
ydb/core/kqp/gateway/behaviour/table/CMakeLists.darwin-x86_64.txt

@@ -0,0 +1,28 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(gateway-behaviour-table INTERFACE)
+target_link_libraries(gateway-behaviour-table INTERFACE
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+
+add_global_library_for(gateway-behaviour-table.global gateway-behaviour-table)
+target_compile_options(gateway-behaviour-table.global PRIVATE
+  -DUSE_CURRENT_UDF_ABI_VERSION
+)
+target_link_libraries(gateway-behaviour-table.global PUBLIC
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+target_sources(gateway-behaviour-table.global PRIVATE
+  ${CMAKE_SOURCE_DIR}/ydb/core/kqp/gateway/behaviour/table/behaviour.cpp
+)

+ 30 - 0
ydb/core/kqp/gateway/behaviour/table/CMakeLists.linux-aarch64.txt

@@ -0,0 +1,30 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(gateway-behaviour-table INTERFACE)
+target_link_libraries(gateway-behaviour-table INTERFACE
+  contrib-libs-linux-headers
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+
+add_global_library_for(gateway-behaviour-table.global gateway-behaviour-table)
+target_compile_options(gateway-behaviour-table.global PRIVATE
+  -DUSE_CURRENT_UDF_ABI_VERSION
+)
+target_link_libraries(gateway-behaviour-table.global PUBLIC
+  contrib-libs-linux-headers
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+target_sources(gateway-behaviour-table.global PRIVATE
+  ${CMAKE_SOURCE_DIR}/ydb/core/kqp/gateway/behaviour/table/behaviour.cpp
+)

+ 30 - 0
ydb/core/kqp/gateway/behaviour/table/CMakeLists.linux-x86_64.txt

@@ -0,0 +1,30 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(gateway-behaviour-table INTERFACE)
+target_link_libraries(gateway-behaviour-table INTERFACE
+  contrib-libs-linux-headers
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+
+add_global_library_for(gateway-behaviour-table.global gateway-behaviour-table)
+target_compile_options(gateway-behaviour-table.global PRIVATE
+  -DUSE_CURRENT_UDF_ABI_VERSION
+)
+target_link_libraries(gateway-behaviour-table.global PUBLIC
+  contrib-libs-linux-headers
+  contrib-libs-cxxsupp
+  yutil
+  gateway-behaviour-tablestore
+)
+target_sources(gateway-behaviour-table.global PRIVATE
+  ${CMAKE_SOURCE_DIR}/ydb/core/kqp/gateway/behaviour/table/behaviour.cpp
+)

+ 17 - 0
ydb/core/kqp/gateway/behaviour/table/CMakeLists.txt

@@ -0,0 +1,17 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
+  include(CMakeLists.linux-aarch64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+  include(CMakeLists.darwin-x86_64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+  include(CMakeLists.windows-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
+  include(CMakeLists.linux-x86_64.txt)
+endif()

Some files were not shown because too many files changed in this diff