{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":819830482,"defaultBranch":"master","name":"spark","ownerLogin":"codesorcery","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-06-25T09:26:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6949483?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1720083638.0","currentOid":""},"activityList":{"items":[{"before":"ec82a5e4ad0b9dd3e95fa17529c3c4033ad589a7","after":"91d4ee0c9e0fd8112c077a8ed2ec63caf14a6c6d","ref":"refs/heads/ruff-numpy-check","pushedAt":"2024-07-04T12:31:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"check compatibility with NumPy 2.0 via ruff","shortMessageHtmlLink":"check compatibility with NumPy 2.0 via ruff"}},{"before":"fe1257c71182e6c9efc2ed8dac5a00e890f1a66a","after":"ec82a5e4ad0b9dd3e95fa17529c3c4033ad589a7","ref":"refs/heads/ruff-numpy-check","pushedAt":"2024-07-04T10:53:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"check compatibility with NumPy 2.0 via ruff","shortMessageHtmlLink":"check compatibility with NumPy 2.0 via ruff"}},{"before":"4c6fe1f2cfafed12bb6d41f4025e599ce237ee13","after":"fe1257c71182e6c9efc2ed8dac5a00e890f1a66a","ref":"refs/heads/ruff-numpy-check","pushedAt":"2024-07-04T09:12:32.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"check compatibility with NumPy 2.0 via ruff","shortMessageHtmlLink":"check compatibility with NumPy 2.0 via ruff"}},{"before":null,"after":"4c6fe1f2cfafed12bb6d41f4025e599ce237ee13","ref":"refs/heads/ruff-numpy-check","pushedAt":"2024-07-04T09:00:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"check compatibility with NumPy 2.0 via ruff","shortMessageHtmlLink":"check compatibility with NumPy 2.0 via ruff"}},{"before":null,"after":"f11f316aad12bf984ef4b6101a31b20aaa420710","ref":"refs/heads/SPARK-48710-numpy-upper-bound","pushedAt":"2024-07-02T08:52:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Limit NumPy version to < 2","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Limit NumPy version to < 2"}},{"before":"d05b653945cfb9af8cad0ac229d2cd2fa92284f4","after":"2851ae0f6acd99f6fd4b6698a21001847852810e","ref":"refs/heads/SPARK-48710","pushedAt":"2024-07-01T10:59:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Fix type checks for NumPy in tests","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Fix type checks for NumPy in tests"}},{"before":"6103cd5a696733b2b88b8e1a07b220a1ec697028","after":"d05b653945cfb9af8cad0ac229d2cd2fa92284f4","ref":"refs/heads/SPARK-48710","pushedAt":"2024-07-01T09:15:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Fix type checks for NumPy in tests","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Fix type checks for NumPy in tests"}},{"before":"7512c71156bc1a1d8a3bc51cb600cde55c7acf2d","after":"6103cd5a696733b2b88b8e1a07b220a1ec697028","ref":"refs/heads/SPARK-48710","pushedAt":"2024-06-28T06:15:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Reformat code and fix NumPy version checks","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Reformat code and fix NumPy version checks"}},{"before":"87f06bd19344d9b0b8f38cac04ff038876d1accf","after":"7512c71156bc1a1d8a3bc51cb600cde55c7acf2d","ref":"refs/heads/SPARK-48710","pushedAt":"2024-06-27T20:10:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Make tests and ml module NumPy 2.0 compatible","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Make tests and ml module NumPy 2.0 compatible"}},{"before":"e6dd74561575a6b44434efeca293756dcc7fc111","after":"87f06bd19344d9b0b8f38cac04ff038876d1accf","ref":"refs/heads/SPARK-48710","pushedAt":"2024-06-25T11:27:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"Merge branch 'apache:master' into SPARK-48710","shortMessageHtmlLink":"Merge branch 'apache:master' into SPARK-48710"}},{"before":"51f11033f86ea423b88f80690099b6384df172ac","after":"8c4ca7e6122869702d8b4fe37a499f809b3a51eb","ref":"refs/heads/master","pushedAt":"2024-06-25T11:27:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48693][SQL] Simplify and unify toString of Invoke and StaticInvoke\n\n### What changes were proposed in this pull request?\n\nThe `StaticInvoke` class is used extensively by `RuntimeReplacable` expressions, due to its ugly string representation, a plan with multiple or nested `StaticInvoke` is hard to read.\n\nThis PR overrides `StaticInvoke`'s toString method to improve its readability.\n\n```diff\n Project [left(c7#x, 2) AS left(c7, 2)#x, left(c8#x, 2) AS left(c8, 2)#x, left(v#x, 3) AS left(v, 3)#x, left(s#x, 2) AS left(s, 2)#x]\n +- SubqueryAlias spark_catalog.default.char_tbl4\n- +- Project [staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c7#x, 7, tru\ne, false, true) AS c7#x, staticinvoke(class org.apache.spark.sql.catalyst.util.CharVarcharCodegenUtils, StringType, readSidePadding, c8#\nx, 8, true, false, true) AS c8#x, v#x, s#x]\n+ +- Project [static_invoke(CharVarcharCodegenUtils.readSidePadding(c7#x, 7)) AS c7#x, static_invoke(CharVarcharCodegenUtils.readSideP\nadding(c8#x, 8)) AS c8#x, v#x, s#x]\n```\n\nIn contrast, the `Invoke`'s toString is overly simple, losing its child's string representations.\n\n### Why are the changes needed?\n\nimprove plan readability and consistency\n\n### Does this PR introduce _any_ user-facing change?\n\nYes, a plan containing `StaticInvoke` will change its string representation.\n\n### How was this patch tested?\n\nexisting modified tests\n\n### Was this patch authored or co-authored using generative AI tooling?\n\nno\n\nCloses #47066 from yaooqinn/SPARK-48693.\n\nAuthored-by: Kent Yao \nSigned-off-by: Kent Yao ","shortMessageHtmlLink":"[SPARK-48693][SQL] Simplify and unify toString of Invoke and StaticIn…"}},{"before":"976230a3887ad9ef199dbdf19f42a5dedbc57ed1","after":"e6dd74561575a6b44434efeca293756dcc7fc111","ref":"refs/heads/SPARK-48710","pushedAt":"2024-06-25T10:01:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Use NumPy 2.0 compatible types","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Use NumPy 2.0 compatible types"}},{"before":null,"after":"976230a3887ad9ef199dbdf19f42a5dedbc57ed1","ref":"refs/heads/SPARK-48710","pushedAt":"2024-06-25T09:59:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"codesorcery","name":"Patrick Marx","path":"/codesorcery","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6949483?s=80&v=4"},"commit":{"message":"[SPARK-48710][PYTHON] Use NumPy 2.0 compatible types","shortMessageHtmlLink":"[SPARK-48710][PYTHON] Use NumPy 2.0 compatible types"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0wNFQxMjozMTo1My4wMDAwMDBazwAAAAR25Z5s","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0wNFQxMjozMTo1My4wMDAwMDBazwAAAAR25Z5s","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0yNVQwOTo1OTo1NC4wMDAwMDBazwAAAARucwDc"}},"title":"Activity · codesorcery/spark"}