DongLiang-0 commented on code in PR #19990:
URL: https://github.com/apache/doris/pull/19990#discussion_r1243052720
##########
be/src/vec/exec/jni_connector.h:
##########
@@ -205,6 +216,17 @@ class JniConnector {
*/
std::map<std::string, std::string> get_statistics(JNIEnv* env);
+ /**
+ * Call java side function JniScanner.getTableSchema.
+ *
+ * The schema information are stored as a string.
+ * Use # between column names and column types.
+ *
+ * like: col_name1,col_name2,col_name3#col_type1,col_type2.col_type3
+ *
+ */
+ Status get_table_schema(std::string& table_schema_str);
Review Comment:
Here I use the nested format of json.
You can see `TableSchema.SchemaColumn`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]