Skip to content

Commit

Permalink
[native] advance velox version
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxmeng authored and Mariam Almesfer committed Dec 3, 2024
1 parent 56189c7 commit 0918047
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 59 deletions.
22 changes: 1 addition & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,6 @@
</rules>
</configuration>
</plugin>

<plugin>
<groupId>org.basepom.maven</groupId>
<artifactId>duplicate-finder-maven-plugin</artifactId>
Expand All @@ -2343,6 +2342,7 @@
</configuration>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand Down Expand Up @@ -2376,26 +2376,6 @@
<version>0.5.1</version>
</plugin>

<plugin>
<groupId>org.basepom.maven</groupId>
<artifactId>duplicate-finder-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
<configuration>
<ignoredClassPatterns combine.children="append">
<ignoredClassPattern>module-info</ignoredClassPattern>
<ignoredClassPattern>META-INF.versions.9.module-info</ignoredClassPattern>
</ignoredClassPatterns>
</configuration>
</plugin>

</plugins>
</pluginManagement>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ public BigQueryColumnHandle(
this.description = description;
}

@JsonProperty(value = "name")
@JsonProperty
public String getName()
{
return name;
}

@Override
@JsonProperty(value = "bigQueryType")
@JsonProperty
public BigQueryType getBigQueryType()
{
return bigQueryType;
Expand All @@ -76,19 +76,19 @@ public Map<String, Adaptor> getBigQuerySubTypes()
}

@Override
@JsonProperty(value = "mode")
@JsonProperty
public Mode getMode()
{
return mode;
}

@JsonProperty(value = "subColumns")
@JsonProperty
public List<BigQueryColumnHandle> getSubColumns()
{
return subColumns;
}

@JsonProperty(value = "description")
@JsonProperty
public String description()
{
return description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,25 @@ static BigQuerySplit emptyProjection(long numberOfRows)
return new BigQuerySplit("", "", ImmutableList.of(), numberOfRows);
}

@JsonProperty(value = "streamName")
@JsonProperty
public String getStreamName()
{
return streamName;
}

@JsonProperty(value = "avroSchema")
@JsonProperty
public String getAvroSchema()
{
return avroSchema;
}

@JsonProperty(value = "columns")
@JsonProperty
public List<ColumnHandle> getColumns()
{
return columns;
}

@JsonProperty(value = "emptyRowsToGenerate")
@JsonProperty
public long getEmptyRowsToGenerate()
{
return emptyRowsToGenerate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,43 +66,43 @@ public static BigQueryTableHandle from(TableInfo tableInfo)
return new BigQueryTableHandle(tableId.getProject(), tableId.getDataset(), tableId.getTable(), type, TupleDomain.none(), Optional.empty(), OptionalLong.empty());
}

@JsonProperty (value = "projectId")
@JsonProperty
public String getProjectId()
{
return projectId;
}

@JsonProperty(value = "schemaName")
@JsonProperty
public String getSchemaName()
{
return schemaName;
}

@JsonProperty (value = "tableName")
@JsonProperty
public String getTableName()
{
return tableName;
}

@JsonProperty (value = "type")
@JsonProperty
public String getType()
{
return type;
}

@JsonProperty (value = "constraint")
@JsonProperty
public TupleDomain<ColumnHandle> getConstraint()
{
return constraint;
}

@JsonProperty (value = "projectedColumns")
@JsonProperty
public Optional<List<ColumnHandle>> getProjectedColumns()
{
return projectedColumns;
}

@JsonProperty (value = "limit")
@JsonProperty
public OptionalLong getLimit()
{
return limit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public BigQueryTableLayoutHandle(
this(table, TupleDomain.none());
}

@JsonProperty (value = "table")
@JsonProperty
public BigQueryTableHandle getTable()
{
return table;
}

@JsonProperty (value = "tupleDomain")
@JsonProperty
public TupleDomain<ColumnHandle> getTupleDomain()
{
return tupleDomain;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ public JmxColumnHandle(
this.columnType = requireNonNull(columnType, "columnType is null");
}

@JsonProperty (value = "columnName")
@JsonProperty
public String getColumnName()
{
return columnName;
}

@JsonProperty (value = "columnType")
@JsonProperty
public Type getColumnType()
{
return columnType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public JmxSplit(
this.addresses = ImmutableList.copyOf(requireNonNull(addresses, "addresses is null"));
}

@JsonProperty(value = "tableHandle")
@JsonProperty
public JmxTableHandle getTableHandle()
{
return tableHandle;
Expand All @@ -53,7 +53,7 @@ public NodeSelectionStrategy getNodeSelectionStrategy()
return HARD_AFFINITY;
}

@JsonProperty(value = "addresses")
@JsonProperty
public List<HostAddress> getAddresses()
{
return addresses;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,25 @@ public JmxTableHandle(
checkArgument(!objectNames.isEmpty(), "objectsNames is empty");
}

@JsonProperty(value = "tableName")
@JsonProperty
public SchemaTableName getTableName()
{
return tableName;
}

@JsonProperty (value = "objectNames")
@JsonProperty
public List<String> getObjectNames()
{
return objectNames;
}

@JsonProperty(value = "columnHandles")
@JsonProperty
public List<JmxColumnHandle> getColumnHandles()
{
return columnHandles;
}

@JsonProperty(value = "liveData")
@JsonProperty
public boolean isLiveData()
{
return liveData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public JmxTableLayoutHandle(
this.constraint = requireNonNull(constraint, "constraint is null");
}

@JsonProperty(value = "table")
@JsonProperty
public JmxTableHandle getTable()
{
return table;
}

@JsonProperty(value = "constraint")
@JsonProperty
public TupleDomain<ColumnHandle> getConstraint()
{
return constraint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public LarkSheetsSplit(@JsonProperty("table") LarkSheetsTableHandle table)
this.table = requireNonNull(table, "table is null");
}

@JsonProperty(value = "table")
@JsonProperty
public LarkSheetsTableHandle getTable()
{
return table;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,37 @@ public LarkSheetsTableHandle(
this.rowCount = rowCount;
}

@JsonProperty(value = "spreadsheetToken")
@JsonProperty
public String getSpreadsheetToken()
{
return spreadsheetToken;
}

@JsonProperty(value = "sheetId")
@JsonProperty
public String getSheetId()
{
return sheetId;
}

@JsonProperty(value = "sheetTitle")
@JsonProperty
public String getSheetTitle()
{
return sheetTitle;
}

@JsonProperty(value = "sheetIndex")
@JsonProperty
public int getSheetIndex()
{
return sheetIndex;
}

@JsonProperty(value = "columnCount")
@JsonProperty
public int getColumnCount()
{
return columnCount;
}

@JsonProperty(value = "rowCount")
@JsonProperty
public int getRowCount()
{
return rowCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public LarkSheetsTableLayoutHandle(@JsonProperty("table") LarkSheetsTableHandle
this.table = requireNonNull(table, "table is null");
}

@JsonProperty(value = "table")
@JsonProperty
public LarkSheetsTableHandle getTable()
{
return table;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ public TableColumn(
this(tableName, columnName, Optional.of(isDirectMapped));
}

@JsonProperty(value = "tableName")
@JsonProperty
public SchemaTableName getTableName()
{
return tableName;
}

@JsonProperty(value = "columnName")
@JsonProperty
public String getColumnName()
{
return columnName;
Expand Down

0 comments on commit 0918047

Please sign in to comment.