File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ def fetchall(self) -> List[Row]:
101101 pass
102102
103103 @abstractmethod
104- def fetchmany_arrow (self , size : int ) -> Any :
104+ def fetchmany_arrow (self , size : int ) -> "pyarrow.Table" :
105105 """Fetch the next set of rows as an Arrow table."""
106106 pass
107107
108108 @abstractmethod
109- def fetchall_arrow (self ) -> Any :
109+ def fetchall_arrow (self ) -> "pyarrow.Table" :
110110 """Fetch all remaining rows as an Arrow table."""
111111 pass
112112
@@ -251,7 +251,7 @@ def _convert_arrow_table(self, table):
251251 res = df .to_numpy (na_value = None , dtype = "object" )
252252 return [ResultRow (* v ) for v in res ]
253253
254- def merge_columnar (self , result1 , result2 ):
254+ def merge_columnar (self , result1 , result2 ) -> "ColumnTable" :
255255 """
256256 Function to merge / combining the columnar results into a single result
257257 :param result1:
You can’t perform that action at this time.
0 commit comments