You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by tj...@apache.org on 2023/10/05 18:45:29 UTC
[calcite-avatica] 01/01: [CALCITE-6034] Adds isAutoIncrement and isGenerated args to MetaColumn constructor
This is an automated email from the ASF dual-hosted git repository.
tjbanghart pushed a commit to branch tjbanghart/5549
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git
commit 0c9d0b1b49df082460fa23f0b09f09a592f8b24a
Author: TJ Banghart <tj...@gmail.com>
AuthorDate: Mon Mar 20 10:07:36 2023 -0700
[CALCITE-6034] Adds isAutoIncrement and isGenerated args to MetaColumn constructor
---
core/src/main/java/org/apache/calcite/avatica/MetaImpl.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/core/src/main/java/org/apache/calcite/avatica/MetaImpl.java b/core/src/main/java/org/apache/calcite/avatica/MetaImpl.java
index c41f8edfc..2cf389bf8 100644
--- a/core/src/main/java/org/apache/calcite/avatica/MetaImpl.java
+++ b/core/src/main/java/org/apache/calcite/avatica/MetaImpl.java
@@ -352,9 +352,9 @@ public abstract class MetaImpl implements Meta {
public final String scopeTable = null;
public final Short sourceDataType = null;
@ColumnNoNulls
- public final String isAutoincrement = "";
+ public final String isAutoincrement;
@ColumnNoNulls
- public final String isGeneratedcolumn = "";
+ public final String isGeneratedcolumn;
public MetaColumn(
String tableCat,
@@ -369,7 +369,9 @@ public abstract class MetaImpl implements Meta {
int nullable,
Integer charOctetLength,
int ordinalPosition,
- String isNullable) {
+ String isNullable,
+ String isAutoincrement,
+ String isGeneratedcolumn) {
this.tableCat = tableCat;
this.tableSchem = tableSchem;
this.tableName = tableName;
@@ -383,6 +385,8 @@ public abstract class MetaImpl implements Meta {
this.charOctetLength = charOctetLength;
this.ordinalPosition = ordinalPosition;
this.isNullable = isNullable;
+ this.isAutoincrement = isAutoincrement;
+ this.isGeneratedcolumn = isGeneratedcolumn;
}
public String getName() {