Skip to content

Conversation

shuoweil
Copy link
Contributor

@shuoweil shuoweil commented Mar 13, 2025

chore: add error handle for pdf extract and pdf chunk
add docs and testcase for pdf extract and pdf chunk
testcases are verified: screen/vFUmM6VeAFwhYv9

@shuoweil shuoweil requested a review from GarrettWu March 13, 2025 00:00
@shuoweil shuoweil self-assigned this Mar 13, 2025
@shuoweil shuoweil requested review from a team as code owners March 13, 2025 00:00
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Mar 13, 2025
@shuoweil shuoweil enabled auto-merge (squash) March 13, 2025 00:06
@GarrettWu
Copy link
Contributor

Can we also add tests as those are already available in PROD now. like #1482

@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Mar 19, 2025
@shuoweil shuoweil force-pushed the shuowei-pdf-chunk-error-handle branch from e72a4f7 to ca99b06 Compare March 24, 2025 21:16
@shuoweil shuoweil requested a review from GarrettWu March 24, 2025 21:18
@shuoweil shuoweil changed the title chore: add error handle for pdf chunk chore: add error handle for pdf extract and pdf chunk Mar 24, 2025
@shuoweil
Copy link
Contributor Author

Can we also add tests as those are already available in PROD now. like #1482
done

@shuoweil shuoweil added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 25, 2025
@bigframes-bot bigframes-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 25, 2025
@shuoweil shuoweil force-pushed the shuowei-pdf-chunk-error-handle branch from ca99b06 to ee140fc Compare March 25, 2025 21:56
@shuoweil shuoweil force-pushed the shuowei-pdf-chunk-error-handle branch from ee140fc to c4b6aa8 Compare March 26, 2025 05:37
@shuoweil shuoweil requested a review from GarrettWu March 26, 2025 05:38
@GarrettWu GarrettWu disabled auto-merge March 26, 2025 19:20
@GarrettWu
Copy link
Contributor

Generally don't enable auto-merge unless the PR is just trivial. In case the reviewer wants to approve with minor comments to fix.

@shuoweil shuoweil force-pushed the shuowei-pdf-chunk-error-handle branch from c4b6aa8 to b6fd13a Compare March 26, 2025 21:57
@shuoweil shuoweil merged commit 991c219 into main Mar 26, 2025
18 of 24 checks passed
@shuoweil shuoweil deleted the shuowei-pdf-chunk-error-handle branch March 26, 2025 22:36
shobsi pushed a commit that referenced this pull request Mar 28, 2025
* add error handling for pdf chunk

* change return type for pdf chunk

* add error handling for pdf chunk

* introuduce a control variable called verbose for pdf chunk, when it is true, display both error message and content, otherwises, display content only

* add pdf extract testcase

* add testcase for pdf chunk

* code change for pdf extract and pdf chunk, need to fix test

* all testcases are clean

* update testcase for better readibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants