I remember when writing to the metadata table, the int field must have a value. I believe it's the setInt method on statement. I can go back and confirm.

Sent from my iPad

Thanks
Tony

On Apr 15, 2013, at 1:26 PM, "James Taylor" <notifications@github.com<mailto:notifications@github.com>> wrote:


In src/main/java/com/salesforce/phoenix/schema/MetaDataClient.java:

> @@ -315,13 +317,19 @@ public MutationState createTable(CreateTableStatement statement, byte[][] splits
>                  addColumnMutation(schemaName, tableName, column, colUpsert);
>              }
>
> +            Integer saltBucketNum = (Integer) tableProps.get(PhoenixDatabaseMetaData.SALT_BUCKETS);
> +            if (saltBucketNum == null) {


Any reason not to just use null as meaning "no salting"?

—
Reply to this email directly or view it on GitHub<https://github.com/forcedotcom/phoenix/pull/139/files#r3801173>.