Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In ConnectionConfigImpl, we allow properties based on enum classes. The getEnum method throws "Required property 'name' not specified" if the default value is null, but it should not; we should allow enum properties whose default value is null.
Also, when resolving an enum property we should check the exact string first, then look for case-insensitive matches. This will help if people write 'p=foo' if 'p' is a property of type enum { FOO, BAZ }.
Attachments
Issue Links
- is depended upon by
-
CALCITE-1259 Allow connecting to a single schema without writing a model
- Closed
- relates to
-
CALCITE-1270 Upgrade Calcite to avatica-1.9
- Closed
- links to