@@ -699,12 +699,12 @@ func TestGroupConcatExecMarshalUnmarshal(t *testing.T) {
699
699
require .NoError (t , vector .AppendBytes (v1 , []byte ("test1" ), false , m .Mp ()))
700
700
require .NoError (t , exec .Fill (0 , 0 , []* vector.Vector {v1 }))
701
701
702
- data , err := exec .marshal ()
702
+ data , err := exec .Marshal ()
703
703
require .NoError (t , err )
704
704
require .NotNil (t , data )
705
705
706
706
newExec := newGroupConcatExec (m , info , "," )
707
- err = newExec .unmarshal (m .Mp (), nil , nil , [][]byte {[]byte ("," )})
707
+ err = newExec .Unmarshal (m .Mp (), nil , nil , [][]byte {[]byte ("," )})
708
708
require .NoError (t , err )
709
709
710
710
require .Equal (t , []byte ("," ), newExec .(* groupConcatExec ).separator )
@@ -722,14 +722,14 @@ func TestGroupConcatExecMarshalUnmarshal(t *testing.T) {
722
722
}
723
723
exec := newGroupConcatExec (m , info , "|" )
724
724
725
- data , err := exec .marshal ()
725
+ data , err := exec .Marshal ()
726
726
require .NoError (t , err )
727
727
728
728
newExec := newGroupConcatExec (m , info , "," )
729
729
encoded := & EncodedAgg {}
730
730
require .NoError (t , encoded .Unmarshal (data ))
731
731
732
- err = newExec .unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
732
+ err = newExec .Unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
733
733
require .NoError (t , err )
734
734
735
735
require .Equal (t , []byte ("|" ), newExec .(* groupConcatExec ).separator )
@@ -753,14 +753,14 @@ func TestGroupConcatExecMarshalUnmarshal(t *testing.T) {
753
753
require .NoError (t , vector .AppendBytes (v1 , []byte ("distinct1" ), false , m .Mp ()))
754
754
require .NoError (t , exec .Fill (0 , 0 , []* vector.Vector {v1 }))
755
755
756
- data , err := exec .marshal ()
756
+ data , err := exec .Marshal ()
757
757
require .NoError (t , err )
758
758
759
759
newExec := newGroupConcatExec (m , info , "," )
760
760
encoded := & EncodedAgg {}
761
761
require .NoError (t , encoded .Unmarshal (data ))
762
762
763
- err = newExec .unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
763
+ err = newExec .Unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
764
764
require .NoError (t , err )
765
765
766
766
exec .Free ()
@@ -803,14 +803,14 @@ func TestCountColumnExecMarshalUnmarshal(t *testing.T) {
803
803
require .NoError (t , vector .AppendFixedList (v1 , []int64 {1 , 2 , 3 }, nil , m .Mp ()))
804
804
require .NoError (t , exec .BulkFill (0 , []* vector.Vector {v1 }))
805
805
806
- data , err := exec .marshal ()
806
+ data , err := exec .Marshal ()
807
807
require .NoError (t , err )
808
808
809
809
newExec := newCountColumnExecExec (m , info )
810
810
encoded := & EncodedAgg {}
811
811
require .NoError (t , encoded .Unmarshal (data ))
812
812
813
- err = newExec .unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
813
+ err = newExec .Unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
814
814
require .NoError (t , err )
815
815
816
816
exec .Free ()
@@ -833,14 +833,14 @@ func TestCountColumnExecMarshalUnmarshal(t *testing.T) {
833
833
require .NoError (t , vector .AppendFixedList (v1 , []int64 {1 , 2 , 1 , 3 }, nil , m .Mp ()))
834
834
require .NoError (t , exec .BulkFill (0 , []* vector.Vector {v1 }))
835
835
836
- data , err := exec .marshal ()
836
+ data , err := exec .Marshal ()
837
837
require .NoError (t , err )
838
838
839
839
newExec := newCountColumnExecExec (m , info )
840
840
encoded := & EncodedAgg {}
841
841
require .NoError (t , encoded .Unmarshal (data ))
842
842
843
- err = newExec .unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
843
+ err = newExec .Unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
844
844
require .NoError (t , err )
845
845
846
846
exec .Free ()
@@ -858,14 +858,14 @@ func TestCountColumnExecMarshalUnmarshal(t *testing.T) {
858
858
exec := newCountColumnExecExec (m , info )
859
859
require .NoError (t , exec .GroupGrow (1 ))
860
860
861
- data , err := exec .marshal ()
861
+ data , err := exec .Marshal ()
862
862
require .NoError (t , err )
863
863
864
864
newExec := newCountColumnExecExec (m , info )
865
865
encoded := & EncodedAgg {}
866
866
require .NoError (t , encoded .Unmarshal (data ))
867
867
868
- err = newExec .unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
868
+ err = newExec .Unmarshal (m .Mp (), encoded .Result , encoded .Empties , encoded .Groups )
869
869
require .NoError (t , err )
870
870
871
871
exec .Free ()
@@ -882,7 +882,7 @@ func TestCountColumnExecMarshalUnmarshal(t *testing.T) {
882
882
}
883
883
exec := newCountColumnExecExec (m , info )
884
884
885
- err := exec .unmarshal (m .Mp (), nil , nil , [][]byte {})
885
+ err := exec .Unmarshal (m .Mp (), nil , nil , [][]byte {})
886
886
require .NoError (t , err )
887
887
888
888
exec .Free ()
0 commit comments