Is your feature request related to a problem or challenge?
The ScalarVariable is represented in terms of DataType, and thus plans can't
|
/// A named reference to a variable in a registry. |
|
ScalarVariable(DataType, Vec<String>), |
While we are here, it would probably be a good idea to allow the nullability to be represented here as well as most other logical expression members can store this, too.
Describe the solution you'd like
Perhaps the DataType could be updated to a FieldRef or FieldMetdata could be added
Describe alternatives you've considered
No response
Additional context