{"id":20291576,"url":"https://github.com/swtwsk/flink-array-row-bug","last_synced_at":"2026-06-06T12:31:16.352Z","repository":{"id":46661316,"uuid":"515511909","full_name":"swtwsk/flink-array-row-bug","owner":"swtwsk","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-19T11:03:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T05:11:20.537Z","etag":null,"topics":["flink","flink-sql"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swtwsk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-19T09:07:14.000Z","updated_at":"2022-07-19T09:17:17.000Z","dependencies_parsed_at":"2022-09-04T02:22:09.289Z","dependency_job_id":null,"html_url":"https://github.com/swtwsk/flink-array-row-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swtwsk/flink-array-row-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swtwsk%2Fflink-array-row-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swtwsk%2Fflink-array-row-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swtwsk%2Fflink-array-row-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swtwsk%2Fflink-array-row-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swtwsk","download_url":"https://codeload.github.com/swtwsk/flink-array-row-bug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swtwsk%2Fflink-array-row-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flink","flink-sql"],"created_at":"2024-11-14T15:13:04.656Z","updated_at":"2026-06-06T12:31:16.327Z","avatar_url":"https://github.com/swtwsk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flink Array Row Bug\n\nThis is a reproducer of a bug reported in [FLINK-28591](https://issues.apache.org/jira/browse/FLINK-28591).\n\n## How to reproduce\n\nRun\n```shell\nmvn clean install exec:java -Dexec.mainClass=com.github.swtwsk.FlinkArrayRowBugJob\n```\nand `cat` the file that got generated (named `part-...`).\n\n---\n\nAlthough in the INSERT we tried to insert\n```roomsql\narray[\n    ('Field1', 'Value1'),\n    ('Field2', 'Value2')\n]\n```\nin the JSON that got printed to the generated file we get duplicate of the last inserted row:\n```json\n\"bar\": [\n  {\"foo1\":\"Field2\", \"foo2\":\"Value2\"},\n  {\"foo1\":\"Field2\", \"foo2\":\"Value2\"}\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswtwsk%2Fflink-array-row-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswtwsk%2Fflink-array-row-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswtwsk%2Fflink-array-row-bug/lists"}