forgot to remove some test options

This commit is contained in:
David Kagan 2023-03-01 11:14:09 -05:00
parent 28b165b7b8
commit 63c485c116

View file

@ -9,7 +9,6 @@ import (
"io"
"net/http"
"strconv"
"strings"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
@ -22,13 +21,11 @@ import (
)
func isDatabaseNotFoundError(err error) bool {
// TODO (pok) take out the second part of this check once we return correct error types across network boundaries
return errors.Is(err, dax.ErrDatabaseNameDoesNotExist) || strings.Contains(err.Error(), "does not exist")
return errors.Is(err, dax.ErrDatabaseNameDoesNotExist)
}
func isTableNotFoundError(err error) bool {
// TODO (pok) take out the second part of this check once we return correct error types across network boundaries
return errors.Is(err, dax.ErrTableNameDoesNotExist) || strings.Contains(err.Error(), "does not exist")
return errors.Is(err, dax.ErrTableNameDoesNotExist)
}
// ExecutionPlanner compiles SQL text into a query plan