Team,
Christian just let me know about the operator precedence in hive. Everyone writing queries should read about this as precedence it's not what you might expect and you query might end up taking forrrr everrrr making other users unhappy.
https://wikitech.wikimedia.org/wiki/Analytics/Cluster/Hive/Queries#Avoiding_...
Thanks,
Nuria
Heh. That's why I prefer to use explicit parenthetical expressions in every language, it's just way more readable this way, and reduces the chance of bugs.
On Fri, Jan 30, 2015 at 8:26 AM, Nuria Ruiz nuria@wikimedia.org wrote:
Team,
Christian just let me know about the operator precedence in hive. Everyone writing queries should read about this as precedence it's not what you might expect and you query might end up taking forrrr everrrr making other users unhappy.
https://wikitech.wikimedia.org/wiki/Analytics/Cluster/Hive/Queries#Avoiding_...
Thanks,
Nuria
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
+1 for extra parens.
On Fri, Jan 30, 2015 at 10:21 AM, Max Semenik maxsem.wiki@gmail.com wrote:
Heh. That's why I prefer to use explicit parenthetical expressions in every language, it's just way more readable this way, and reduces the chance of bugs.
On Fri, Jan 30, 2015 at 8:26 AM, Nuria Ruiz nuria@wikimedia.org wrote:
Team,
Christian just let me know about the operator precedence in hive. Everyone writing queries should read about this as precedence it's not what you might expect and you query might end up taking forrrr everrrr making other users unhappy.
https://wikitech.wikimedia.org/wiki/Analytics/Cluster/Hive/Queries#Avoiding_...
Thanks,
Nuria
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
-- Best regards, Max Semenik ([[User:MaxSem]])
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
And behold, extra parens made beautiful:
It's called "rainbow" parens and it's oddly not available in sublime yet, but vim and emacs have it:
https://github.com/kien/rainbow_parentheses.vim http://www.emacswiki.org/emacs/RainbowDelimiters
On Fri, Jan 30, 2015 at 2:50 PM, Aaron Halfaker ahalfaker@wikimedia.org wrote:
+1 for extra parens.
On Fri, Jan 30, 2015 at 10:21 AM, Max Semenik maxsem.wiki@gmail.com wrote:
Heh. That's why I prefer to use explicit parenthetical expressions in every language, it's just way more readable this way, and reduces the chance of bugs.
On Fri, Jan 30, 2015 at 8:26 AM, Nuria Ruiz nuria@wikimedia.org wrote:
Team,
Christian just let me know about the operator precedence in hive. Everyone writing queries should read about this as precedence it's not what you might expect and you query might end up taking forrrr everrrr making other users unhappy.
https://wikitech.wikimedia.org/wiki/Analytics/Cluster/Hive/Queries#Avoiding_...
Thanks,
Nuria
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
-- Best regards, Max Semenik ([[User:MaxSem]])
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics
Analytics mailing list Analytics@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics