Skip to content

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "UNNEST(generate_series(CAST(1 AS BIGINT), array_length(c32, CAST(TRY_CAST(c1 AS UTINYINT) AS BIGINT))))" [7.0] (bindings: [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.10 0.1... #72

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "UNNEST(generate_series(CAST(1 AS BIGINT), array_length(c32, CAST(TRY_CAST(c1 AS UTINYINT) AS BIGINT))))" [7.0] (bindings: [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.10 0.1...

ABORT THROWN BY INTERNAL EXCEPTION: Failed to bind column reference "UNNEST(generate_series(CAST(1 AS BIGINT), array_length(c32, CAST(TRY_CAST(c1 AS UTINYINT) AS BIGINT))))" [7.0] (bindings: [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.10 0.1... #72

name: Create or Label Mirror Issue
on:
issues:
types:
- labeled
env:
GH_TOKEN: ${{ secrets.DUCKDBLABS_BOT_TOKEN }}
TITLE_PREFIX: "[duckdb-fuzzer/#${{ github.event.issue.number }}]"
PUBLIC_ISSUE_TITLE: ${{ github.event.issue.title }}
jobs:
create_or_label_issue:
if: github.event.label.name == 'needs investigation'
runs-on: ubuntu-latest
steps:
- name: Get mirror issue number
run: |
gh issue list --repo duckdblabs/duckdb-internal --search "${TITLE_PREFIX}" --json title,number --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 or label issue
run: |
if [ "$MIRROR_ISSUE_NUMBER" == "" ]; then
gh issue create --repo duckdblabs/duckdb-internal --label "fuzzer" --title "$TITLE_PREFIX - $PUBLIC_ISSUE_TITLE" --body "See https://github.com/duckdb/duckdb-fuzzer/issues/${{ github.event.issue.number }}"
fi