@@ -408,6 +408,7 @@ type (
408408	// FuncArg corresponds to the protobuf FunctionArgument. Anything 
409409	// which could be a function argument should meet this interface. 
410410	// This is either an Expression, a Type, or an Enum (string). 
411+ 	// These are the actual arguments for a function present in a plan. 
411412	FuncArg  interface  {
412413		fmt.Stringer 
413414		ToProtoFuncArg () * proto.FunctionArgument 
@@ -419,7 +420,7 @@ type (
419420	}
420421
421422	// Type corresponds to the proto.Type message and represents 
422- 	// a specific type. These are types which can be present in plan (are serializable) 
423+ 	// a specific concrete  type. These are types which can be present in plan (are serializable) 
423424	Type  interface  {
424425		FuncArg 
425426		isRootRef ()
@@ -469,8 +470,9 @@ type (
469470		BaseString () string 
470471	}
471472
472- 	// FuncDefArgType this represents a type used in function argument 
473- 	// These type can't be present in plan (not serializable) 
473+ 	// FuncDefArgType represents a type used in a function argument 
474+ 	// This is an unresolved type of an argument present in the function definition. 
475+ 	// This type can't be present in plan (not serializable) 
474476	FuncDefArgType  interface  {
475477		fmt.Stringer 
476478		//SetNullability set nullability as given argument 
@@ -913,6 +915,11 @@ func (s *PrimitiveType[T]) WithParameters([]interface{}) (Type, error) {
913915}
914916
915917// create type aliases to the generic structs 
918+ // 
919+ // The parameterized types below use parameterizedTypeSingleIntegerParam to 
920+ // create types that accept a single integer parameter (e.g., precision) 
921+ // Other parameterized types (e.g. DecimalType) have their 
922+ // own dedicated type definitions (ParameterizedDecimalType) rather than using the generic parameterized type. 
916923type  (
917924	BooleanType                            =  PrimitiveType [bool ]
918925	Int8Type                               =  PrimitiveType [int8 ]
0 commit comments