Repository navigation
Dialect written for 2.0, must remove typing to be compatible with 1.4 #13009
|
I realize 1.4 is very very, nearly, almost EOL, but... Superset is still using 1.4 and though they have a draft PR available, it's going to be a while before people upgrade. Starrocks dialect was written for 2.0 and I've just tried to ensure compatibility with 1.4. What I notice is that much of the typing has to be removed because the Ref: draft PR for 1.4 compatibility https://github.com/StarRocks/starrocks/pull/65976/files#diff-908cbc247b10d68a1d7ab46f65a1830fd6bcf6338db636789532d16c2ff41888 @reflection.cache
def _setup_parser(
self, connection: Connection, table_name: str, schema: Optional[str]=None, **kwargs: Any
) -> ReflectedState:Error if ran with full typing: |
Replies: 3 comments
|
Actually, upon removal of the return type, the error is different, it cannot find @reflection.cache
def _setup_parser(
self, connection: Connection, table_name: str, schema: Optional[str]=None, **kwargs: Any
): |
|
Hi, It's unlikely 1.4 will have additional releases, so I would suggest that you encourage people to upgrade to 2.0 |
|
we dont have an operational battlestation to make new releases of 1.4 at this point (it still supports python 2, which is pretty much gone here) so it's unfortunately fully EOL for quite some time now. our EOL schedule generally has to be compressed dramatically because python releases move very quickly now, we should update this in the docs |
we dont have an operational battlestation to make new releases of 1.4 at this point (it still supports python 2, which is pretty much gone here) so it's unfortunately fully EOL for quite some time now.
our EOL schedule generally has to be compressed dramatically because python releases move very quickly now, we should update this in the docs