Skip to content

Commit 8272f4c

Browse files
- Fixed unit tests.
1 parent df34b1b commit 8272f4c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

internal/stackql/drm/drm_cfg.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ func (dc *staticDRMConfig) genRelationalTable(
450450
discoveryGenerationID int,
451451
isNilResponseAlloed bool,
452452
) (relationaldto.RelationalTable, error) {
453-
454453
tableName, err := dc.getTableName(tabAnn.GetHeirarchyIdentifiers(), discoveryGenerationID)
455454
if err != nil {
456455
return nil, err

internal/stackql/util/table_schema.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package util
22

33
import (
4-
"fmt"
54
"strings"
65

76
"github.com/stackql/any-sdk/anysdk"
@@ -42,10 +41,10 @@ func TrimSelectItemsKey(selectItemsKey string) string {
4241
func (ta *simpleTableSchemaAnalyzer) GetColumns() ([]Column, error) {
4342
var rv []Column
4443
// This will be a function of method not schema
45-
addressSpace, hasAddressSpace := ta.m.GetAddressSpace()
46-
if !hasAddressSpace || addressSpace == nil {
47-
return nil, fmt.Errorf("no address space found for method %s", ta.m.GetName())
48-
}
44+
// addressSpace, hasAddressSpace := ta.m.GetAddressSpace()
45+
// if !hasAddressSpace || addressSpace == nil {
46+
// return nil, fmt.Errorf("no address space found for method %s", ta.m.GetName())
47+
// }
4948
tableColumns := ta.s.Tabulate(false, "").GetColumns()
5049
existingColumns := make(map[string]struct{})
5150
for _, col := range tableColumns {

0 commit comments

Comments
 (0)