{"push_id":1302611208,"size":1,"distinct_size":1,"ref":"refs/heads/rqg-with-clauses","head":"30f46734eacb6f85771cbbb288c53d4e37055a9c","before":"4595addf4a84350ef5479a7a0a352b500dca3885","commits":[{"sha":"30f46734eacb6f85771cbbb288c53d4e37055a9c","author":{"name":"Sahil Takiar","email":"b1eecd1f474e7e07efab6e567ecae7dc522d69bb@cloudera.com"},"message":"IMPALA-4142: qgen: Hive does not support CTEs inside sub-query blocks\n\nChanges:\n\nHive does not support WITH clauses inside sub-query blocks, the DefaultProfile actually\nalready has an option to disabled this called \"use_nested_with\" and the HiveProfile\nreturns False for this method. However, there is a bug in the usage of \"use_nested_with\";\nit is not checked everytime a sub-query is created. Specifically, it is not checked when\nan in-line view is created, or when the query within a WITH clause is created (so it's\npossible to create WITH ... AS (WITH ...)). This patch fixes both of these issues since\nHive throws a SQL compile exception for either case.\n\nTesting:\n\n* Added new unit tests\n* All unit tests pass\n* Tested locally against Hive\n* Tested against Impala via Leopard\n* Tested against Impala via the discrepancy checker\n\nChange-Id: Ie585bbbd88a32f502457a4ca9f2f54c7e1ade354","distinct":true,"url":"https://api.github.com/repos/sahilTakiar/incubator-impala/commits/30f46734eacb6f85771cbbb288c53d4e37055a9c"}]}
{"actor":{"display_login":"sahilTakiar"}}