{"push_id":1013196075,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"9634e17d0183d43606a96fbba630e4c6ad720f7c","before":"53ba6d6e59d1172035c2d5e2906bb03fd1998e14","commits":[{"sha":"9634e17d0183d43606a96fbba630e4c6ad720f7c","author":{"email":"c437f8b7af73b0a10ecac061712ff9de6d41089e@databricks.com","name":"Davies Liu"},"message":"[SPARK-13242] [SQL] codegen fallback in case-when if there many branches\n\n## What changes were proposed in this pull request?\n\nIf there are many branches in a CaseWhen expression, the generated code could go above the 64K limit for single java method, will fail to compile. This PR change it to fallback to interpret mode if there are more than 20 branches.\n\nThis PR is based on #11243 and #11221, thanks to joehalliwell\n\nCloses #11243\nCloses #11221\n\n## How was this patch tested?\n\nAdd a test with 50 branches.\n\nAuthor: Davies Liu <davies@databricks.com>\n\nCloses #11592 from davies/fix_when.","distinct":true,"url":"https://api.github.com/repos/dbtsai/spark/commits/9634e17d0183d43606a96fbba630e4c6ad720f7c"}]}