mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
forgot to remove some test options
This commit is contained in:
parent
28b165b7b8
commit
63c485c116
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue