ducklake fails to update ducklake_table_column_stats table after alter table statement #247
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create Documentation issue for the Needs Documentation label | |
| on: | |
| discussion: | |
| types: | |
| - labeled | |
| issues: | |
| types: | |
| - labeled | |
| pull_request_target: | |
| types: | |
| - labeled | |
| env: | |
| GH_TOKEN: ${{ secrets.DUCKDBLABS_BOT_TOKEN }} | |
| # an event triggering this workflow is either an issue or a pull request, | |
| # hence only one of the numbers will be filled in the TITLE_PREFIX | |
| TITLE_PREFIX: "[ducklake/#${{ github.event.issue.number || github.event.pull_request.number }}]" | |
| PUBLIC_ISSUE_TITLE: ${{ github.event.issue.title || github.event.pull_request.title }} | |
| jobs: | |
| create_documentation_issue: | |
| if: github.event.label.name == 'Needs Documentation' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get mirror issue number | |
| run: | | |
| gh issue list --repo duckdb/ducklake-web --json title,number --state all --jq ".[] | select(.title | startswith(\"${TITLE_PREFIX}\")).number" > mirror_issue_number.txt | |
| echo "MIRROR_ISSUE_NUMBER=$(cat mirror_issue_number.txt)" >> ${GITHUB_ENV} | |
| - name: Print whether mirror issue exists | |
| run: | | |
| if [ "${MIRROR_ISSUE_NUMBER}" == "" ]; then | |
| echo "Mirror issue with title prefix '${TITLE_PREFIX}' does not exist yet" | |
| else | |
| echo "Mirror issue with title prefix '${TITLE_PREFIX}' exists with number ${MIRROR_ISSUE_NUMBER}" | |
| fi | |
| - name: Create mirror issue if it does not yet exist | |
| run: | | |
| if [ "${MIRROR_ISSUE_NUMBER}" == "" ]; then | |
| gh issue create --repo duckdb/ducklake-web --title "${TITLE_PREFIX} - ${PUBLIC_ISSUE_TITLE} needs documentation" --body "See https://github.com/duckdb/ducklake/issues/${{ github.event.issue.number || github.event.pull_request.number }}" | |
| fi |