asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Carey <dtab...@gmail.com>
Subject Re: Change in merge policy syntax
Date Tue, 28 Nov 2017 06:10:43 GMT
+1

Could you share the resulting full proposed BNF rule for the CREATE 
DATASET statement?


On 11/27/17 7:24 PM, abdullah alamoudi wrote:
> Dear devs,
> We would like to get your input on changing the syntax of the merge policy definition.
>
> Current syntax:
> <USING> <COMPACTION> <POLICY> prefix_merge (("number"="123"),("size"="456"));
>
> Proposed syntax
> <WITH> {"compaction policy": {"name": "prefix_merge", "parameters": {"number":
123,"size": 456}}};
>
> Advantages:
> 1. Compaction and policy are not key words anymore.
> 2. Use a JSON for key value pairs instead of a strange syntax.
>
> Thoughts?


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message