squirreling 0.7.3 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squirreling",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "Squirreling SQL Engine",
5
5
  "author": "Hyperparam",
6
6
  "homepage": "https://hyperparam.app",
@@ -101,7 +101,7 @@ function collectColumnsFromSelectColumn(col, columns) {
101
101
  */
102
102
  function collectColumnsFromExpr(expr, columns) {
103
103
  if (!expr) return
104
- if (expr.type === 'identifier') {
104
+ if (expr.type === 'identifier' && expr.name !== '*') {
105
105
  columns.add(expr.name)
106
106
  } else if (expr.type === 'literal') {
107
107
  // No columns