We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing the query without alias, the result is as expected:
!> SELECT COUNT(*) FROM commits; --> Executing query: SELECT COUNT(*) FROM commits; +----------+ | COUNT(*) | +----------+ | 48279 | +----------+
But if we add an alias:
!> SELECT COUNT(*) as c FROM commits limit 10; --> Executing query: SELECT COUNT(*) as c FROM commits limit 10; +------------------------------------------+ | C | +------------------------------------------+ | 6fa4b393c01a84c9adf2e2435fba6de13227eabf | | f6fe463165824f26efe6aaabaa352032f6f93886 | | 2ba79c4f8ad74b87ef44dd692d46706adbb9e8d0 | | d07b93103dc7e8bcba010541efa5b0a2394ea6a7 | | 054bc50dde1a194bbd9a69a72004c2e18b19852f | | deaab788af9a4f1ed8ed8193b20e3cffb1555b20 | | 2cfc70f0de7c8902791d3b23a92d6462b9e11d72 | | fc8af32b8ddaeddf12542cc233631b3dccf4724a | | 27d5987585e08376915ca02ebb53cfc0a40a39f0 | | bc01db39ce5bf4d227bc5ef6d9b95bb5f5390f5c | +------------------------------------------+
The text was updated successfully, but these errors were encountered:
fix aggregate expressions with aliases, fixes src-d#112.
d0b849f
2a9c67d
fix aggregate expressions with aliases, fixes src-d#112. (src-d#116)
372b621
smola
No branches or pull requests
Executing the query without alias, the result is as expected:
But if we add an alias:
The text was updated successfully, but these errors were encountered: