jacques-n commented on a change in pull request #10979:
URL: https://github.com/apache/arrow/pull/10979#discussion_r695067541



##########
File path: format/IRFunction.fbs
##########
@@ -0,0 +1,68 @@
+// 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 "Schema.fbs";
+
+namespace org.apache.arrow.ir.flatbuf;
+
+// A unique identifier for a particular function definition. 
+table FunctionId {
+  // the function description identifier.
+  id: uint32;
+  
+  // The origin of the function definition. Should be mapped to a domain such 
as "org.apache.arrow"
+  // The github definition paths for definitions are defined in 
+  // github.com/apache/arrow/format/functions.txt. Org 0 == Apache Arrow 
canonical definitions.
+  // Organizations < 1B are canonical organizations. For private functions, use
+  // Org id > 1B

Review comment:
       1 billion. I was thinking that we'd have a doc on the Arrow git that 
manages the public orgs with pointers to those orgs definitions. Such as:
   |Id  |Organization   |Path|
   |---|---|---|
   |0|arrow.apache.org|https://github.com/apache/arrow/base_sql_functions.yaml|
   |1|bar.com|https://github.com/bar/repo1/the_missing_arrow_functions.yaml|
   |2|foo.com|https://github.com/foo/repo1/stats_functions.yaml|
   |3|random.com|https://random.com/playful_functions.yaml|
   




-- 
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]


Reply via email to