vibhatha commented on code in PR #14071: URL: https://github.com/apache/arrow/pull/14071#discussion_r965443558
########## cpp/src/arrow/engine/substrait/relation_internal.cc: ########## @@ -52,159 +55,239 @@ Status CheckRelCommon(const RelMessage& rel) { return Status::OK(); } -Result<DeclarationInfo> FromProto(const substrait::Rel& rel, const ExtensionSet& ext_set, - const ConversionOptions& conversion_options) { - static bool dataset_init = false; - if (!dataset_init) { - dataset_init = true; - dataset::internal::Initialize(); +Status CheckReadRelation(const substrait::ReadRel& rel, Review Comment: doubt: at a certain point, these unimplemented once will be implemented and the use of this function wouldn't be very useful. Wouldn't it be better to leave them within the main function where we do the rest of the tasks? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org