Skip to content

Commit 9d037d6

Browse files
committed
address conflicts
1 parent f2d33e3 commit 9d037d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/StatObjectConverter.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,7 @@ public static String getUpdatedColumnSql(MPartitionColumnStatistics mStatsObj) {
285285
if (mStatsObj.getNumNulls() != null) {
286286
setStmt.append("\"NUM_NULLS\" = ? ,");
287287
}
288-
setStmt.append("\"ENGINE\" = ? ,");
289-
setStmt.append("\"DB_NAME\" = ? ,");
290-
setStmt.append("\"TABLE_NAME\" = ? ");
288+
setStmt.append("\"ENGINE\" = ? ");
291289
return setStmt.toString();
292290
}
293291

@@ -338,8 +336,6 @@ public static int initUpdatedColumnStatement(MPartitionColumnStatistics mStatsOb
338336
pst.setObject(colIdx++, mStatsObj.getNumNulls());
339337
}
340338
pst.setString(colIdx++, mStatsObj.getEngine());
341-
pst.setString(colIdx++, mStatsObj.getDbName());
342-
pst.setString(colIdx++, mStatsObj.getTableName());
343339
return colIdx;
344340
}
345341

0 commit comments

Comments
 (0)