Conversation
There was a problem hiding this comment.
Diff is quite large for this file.
replaced by property .rendered
|
A general comment. The |
Thanks for this comment. I needed to put class Reason is that each subclass still (and again) contains a class method This also is a reason for not naming the subclasses However if you prefer then I can also replace methods This would then enable
|
|
I didn't notice first that the |
exasol/analytics/schema/column.py
Outdated
|
|
||
| @dataclass(frozen=True, repr=True, eq=True) | ||
| class BooleanColumn(Column): | ||
| class BooleanColumn(ColumnType): |
There was a problem hiding this comment.
if the super type is ColumType, I am not sure if BooleanColumn is an appropriate name , some for the other ones
exasol/analytics/schema/column.py
Outdated
|
|
||
| @dataclass(frozen=True, repr=True, eq=True) | ||
| class Column: | ||
| class ColumnType: |
There was a problem hiding this comment.
would SQLType maybe more correct?
There was a problem hiding this comment.
Not too bad in my eyes. I only already have a class SqlType in column_type_utils.py already, that should be renamed then.
Replaced method simple() of subclasses of ColumnType by top-level functions
| return self.fget(owner_cls) | ||
|
|
||
|
|
||
| @dataclass(frozen=True, repr=True, eq=True) |
There was a problem hiding this comment.
Compared to the last commit, the classes in this file have been moved from column.py.
Closes #294
Closes #292