Skip to content

Commit 3a07f19

Browse files
committed
update doc
1 parent bcf5479 commit 3a07f19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bigframes/operations/output_schemas.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""This file is specifically for parsing type strings for the output_schema parameter of AI functions.
16-
Do not use it from general SQL -> PyArrow type parsing as it does not handle all the types.
15+
"""This file is only for parsing type strings for the output_schema parameter of AI functions.
16+
Do not use it from general SQL -> PyArrow type parsing as it does not handle all the types. Plus
1717
"""
1818

1919
from typing import cast
@@ -25,7 +25,8 @@
2525

2626
def parse_sql_fields(sql: str) -> tuple[pa.Field]:
2727
"""
28-
Parses a sequence of SQL struct fields into their PyArrow equivalents
28+
Parses a sequence of SQL struct fields into their PyArrow equivalents. The returned fields
29+
are sorted by name.
2930
3031
Examples:
3132
"x INT64, y FLOAT64" => (pa.field("x", pa.int64()), pa.field("y", pa.float64()))

0 commit comments

Comments
 (0)