Skip to content

Instantly share code, notes, and snippets.

@harrigan
Last active December 14, 2015 16:39
Show Gist options
  • Save harrigan/5116646 to your computer and use it in GitHub Desktop.
Save harrigan/5116646 to your computer and use it in GitHub Desktop.

Revisions

  1. harrigan revised this gist Mar 8, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dynamo_experiment_4.hql
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@ FROM (
    SELECT count(1) FROM myData WHERE appId = 0
    UNION ALL
    SELECT count(1) FROM myData WHERE appId = 9
    );
    ) u;
  2. harrigan created this gist Mar 8, 2013.
    7 changes: 7 additions & 0 deletions dynamo_experiment_4.hql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    SELECT
    sum(value)
    FROM (
    SELECT count(1) FROM myData WHERE appId = 0
    UNION ALL
    SELECT count(1) FROM myData WHERE appId = 9
    );