Skip to content

Commit 96b0e8a

Browse files
authored
fix: write chunked text instead of dummy text for pdf chunk (#1444)
Co-authored-by: Shuowei Li <shuowei@google.com>
1 parent fe7463a commit 96b0e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigframes/blob/_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def pdf_chunk_func(src_obj_ref_rt: str, chunk_size: int, overlap_size: int) -> s
434434
if curr_chunk:
435435
all_text_chunks.append(curr_chunk)
436436

437-
all_text_json_string = json.dumps(["123"])
437+
all_text_json_string = json.dumps(all_text_chunks)
438438
return all_text_json_string
439439

440440

0 commit comments

Comments
 (0)