tkalkirill commented on code in PR #12893:
URL: https://github.com/apache/ignite/pull/12893#discussion_r2978802216


##########
modules/calcite/src/main/java/org/apache/ignite/calcite/PseudoColumnDescriptor.java:
##########
@@ -0,0 +1,47 @@
+/*
+ * 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.
+ */
+
+package org.apache.ignite.calcite;
+
+import org.apache.ignite.IgniteCheckedException;
+import org.apache.ignite.lang.IgniteExperimental;
+
+/** Pseudocolumn descriptor. */
+@IgniteExperimental
+public interface PseudoColumnDescriptor {
+    /** */
+    int NOT_SPECIFIED = -1;
+
+    /** @return Name of pseudocolumn. */
+    String name();
+
+    /** @return Pseudocolumn type. */
+    Class<?> type();
+
+    /** @return Scale of pseudocolumn type, {@value #NOT_SPECIFIED} if not 
specified. */
+    int scale();
+
+    /** @return Precision of pseudocolumn type, {@value #NOT_SPECIFIED} if not 
specified. */
+    int precision();

Review Comment:
   Why?
   The constant is a fairly universal and understandable constant.
   I asked the copilot, and he said it's OK.



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