浏览代码

[impala] Enable parameterization for Impala "customers" sample design

Jenny Kim 10 年之前
父节点
当前提交
497d640
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/beeswax/data/designs.json

+ 1 - 1
apps/beeswax/data/designs.json

@@ -134,7 +134,7 @@
             "query": "-- Get email survey opt-in values for all customers \nSELECT\r\n  c.id,\r\n  c.name,\r\n  c.email_preferences.categories.surveys\r\nFROM customers c;\n\n\n\n-- Select customers for a given shipping ZIP Code\nSELECT\r\n  c.id,\r\n  c.name\r\nFROM customers c, c.addresses a\r\nWHERE a.key = 'shipping' and a.zip_code = '${zip_code}';\n\n\n\n-- Compute total amount per order for all customers\nSELECT\r\n  c.id AS customer_id,\r\n c.name AS customer_name,\r\n  o.order_id,\r\n  v.total\r\nFROM\r\n  customers c,\r\n  c.orders o,\r\n  (SELECT SUM(price * qty) total FROM o.items) v;",
             "type":1,
             "email_notify":false,
-            "is_parameterized":false,
+            "is_parameterized":true,
             "database":"default"
          },
          "functions":[ ],