You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Vallishp (via GitHub)" <gi...@apache.org> on 2024/09/11 10:37:18 UTC

[PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Vallishp opened a new pull request, #40687:
URL: https://github.com/apache/doris/pull/40687

   backport
   https://github.com/apache/doris/pull/40568
   https://github.com/apache/doris/pull/40455
   https://github.com/apache/doris/pull/40456
   https://github.com/apache/doris/pull/40153
   https://github.com/apache/doris/pull/34384


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2343555442

   TeamCity be ut coverage result:
    Function Coverage: 36.16% (9319/25775) 
    Line Coverage: 27.72% (76456/275767)
    Region Coverage: 26.50% (39250/148112)
    Branch Coverage: 23.33% (20025/85816)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/0ef763fdc9b6e65472bf4acd69999fb01d3c9059_0ef763fdc9b6e65472bf4acd69999fb01d3c9059/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "Vallishp (via GitHub)" <gi...@apache.org>.
Vallishp commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2344050323

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "Vallishp (via GitHub)" <gi...@apache.org>.
Vallishp commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2343331057

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #40687:
URL: https://github.com/apache/doris/pull/40687


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2344107546

   TeamCity be ut coverage result:
    Function Coverage: 36.15% (9320/25778) 
    Line Coverage: 27.73% (76501/275905)
    Region Coverage: 26.50% (39273/148194)
    Branch Coverage: 23.34% (20041/85872)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/5b8f2d8cda59d09d2f1c79fbd62dd0e3b1cbb221_5b8f2d8cda59d09d2f1c79fbd62dd0e3b1cbb221/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2343276255

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #40687:
URL: https://github.com/apache/doris/pull/40687#discussion_r1754019871


##########
be/src/exec/schema_scanner/schema_scanner_helper.h:
##########
@@ -0,0 +1,43 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#ifndef _SCHEMA_SCANNER_HELPER_H_
+
+#include <stdint.h>

Review Comment:
   warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers]
   
   ```suggestion
   #include <cstdint>
   ```
   



##########
be/src/exec/schema_scanner/schema_table_options_scanner.cpp:
##########
@@ -0,0 +1,173 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#include "exec/schema_scanner/schema_table_options_scanner.h"
+
+#include "exec/schema_scanner/schema_helper.h"
+#include "runtime/client_cache.h"
+#include "runtime/exec_env.h"
+#include "runtime/runtime_state.h"
+#include "util/thrift_rpc_helper.h"
+#include "vec/common/string_ref.h"
+#include "vec/core/block.h"
+#include "vec/data_types/data_type_factory.hpp"
+
+namespace doris {
+std::vector<SchemaScanner::ColumnDesc> SchemaTableOptionsScanner::_s_tbls_columns = {
+        {"TABLE_CATALOG", TYPE_VARCHAR, sizeof(StringRef), true},
+        {"TABLE_SCHEMA", TYPE_VARCHAR, sizeof(StringRef), true},
+        {"TABLE_NAME", TYPE_VARCHAR, sizeof(StringRef), true},
+        {"TABLE_MODEL", TYPE_STRING, sizeof(StringRef), true},
+        {"TABLE_MODEL_KEY", TYPE_STRING, sizeof(StringRef), true},
+        {"DISTRIBUTE_KEY", TYPE_STRING, sizeof(StringRef), true},
+        {"DISTRIBUTE_TYPE", TYPE_STRING, sizeof(StringRef), true},
+        {"BUCKETS_NUM", TYPE_INT, sizeof(int32_t), true},
+        {"PARTITION_NUM", TYPE_INT, sizeof(int32_t), true},
+};
+
+SchemaTableOptionsScanner::SchemaTableOptionsScanner()

Review Comment:
   warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
   
   be/src/exec/schema_scanner/schema_table_options_scanner.cpp:42:
   ```diff
   -         : SchemaScanner(_s_tbls_columns, TSchemaTableType::SCH_TABLE_OPTIONS) {}
   +         : SchemaScanner(_s_tbls_columns, TSchemaTableType::SCH_TABLE_OPTIONS) = default;
   ```
   



##########
be/src/exec/schema_scanner/schema_table_options_scanner.h:
##########
@@ -0,0 +1,55 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#pragma once
+#include <gen_cpp/FrontendService_types.h>

Review Comment:
   warning: 'gen_cpp/FrontendService_types.h' file not found [clang-diagnostic-error]
   ```cpp
   #include <gen_cpp/FrontendService_types.h>
            ^
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Branch 2.1] backport systable PR (#34384,#40153,#40456,#40455,#40568) [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #40687:
URL: https://github.com/apache/doris/pull/40687#issuecomment-2343993067

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org