summaryrefslogtreecommitdiff
path: root/internal/mapr/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/mapr/query.go')
-rw-r--r--internal/mapr/query.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/mapr/query.go b/internal/mapr/query.go
index ec93e14..be766d1 100644
--- a/internal/mapr/query.go
+++ b/internal/mapr/query.go
@@ -148,9 +148,12 @@ func (q *Query) parse(tokens []token) error {
}
}
- if q.Table == "" {
- return errors.New(invalidQuery + "Empty table specified in 'from' clause")
- }
+ // Comment out for empty table support, which is "all" log lines.
+ /*
+ if q.Table == "" {
+ return errors.New(invalidQuery + "Empty table specified in 'from' clause")
+ }
+ */
if len(q.Select) < 1 {
return errors.New(invalidQuery + "Expected at least one field in 'select' clause but got none")
}