mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 04:47:53 +00:00
check SingleRowBool for duplicate rowID
This commit is contained in:
parent
8a0609f1fd
commit
13b32b0b10
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ func (i *InputDefinition) LoadDefinition(pb *internal.InputDefinition) error {
|
|||
if err := i.ValidateAction(action); err != nil {
|
||||
return err
|
||||
}
|
||||
if action.RowID != 0 && action.Frame != "" {
|
||||
if action.ValueDestination == SingleRowBool && action.Frame != "" {
|
||||
val, ok := countRowID[action.Frame]
|
||||
if ok && val == action.RowID {
|
||||
return fmt.Errorf("duplicate rowID with other field: %v", action.RowID)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue