Skip to content

Instantly share code, notes, and snippets.

View kszucs's full-sized avatar

Krisztián Szűcs kszucs

View GitHub Profile
@kszucs
kszucs / typehints.py
Last active February 28, 2023 11:35
Ibis Typehint Coercion supporting generic types
from typing import Sequence, Mapping, TypeVar
from ibis.common.grounds import Annotable
from ibis.common.validators import Coercible
T = TypeVar('T')
K = TypeVar('K')
V = TypeVar('V')
@kszucs
kszucs / jira-curation-4.0.1.md
Created May 17, 2021 11:37
JIRA curation for patch release 4.0.1

❯ archery release curate 4.0.1

Total number of JIRA tickets assigned to version 4.0.1: 17

Total number of applied patches since version 4.0.0: 13

Patches with assigned issue in version 4.0.1:

@kszucs
kszucs / cherry-pick.sh
Created May 13, 2020 01:19
Arrow 0.17.1 cherry-picked commits
git checkout -b maint-0.17.x apache-arrow-0.17.0
git cherry-pick 620bb2898a2b42462dee4145952bdad0c00f5415  # ARROW-8501: [Packaging][RPM] Upgrade devtoolset to 8 on CentOS 6
git cherry-pick d8de5790fce3c317db404153af4f103559cc6811  # ARROW-8503: [Packaging][deb] Fix building apache-arrow-archive-keyring for RC
git cherry-pick d1f757339c24ff06e1d39f878323878be64e0369  # ARROW-8549: [R] Assorted post-0.17 release cleanups -- confclicted
git cherry-pick 2a8e37d4ac69d8fc26479e30228bf926ee35f6c5  # ARROW-8584: [C++] Fix ORC link order
git cherry-pick 8939b4bd446ee406d5225c79d563a27d30fd7d6d  # ARROW-8609: [C++] Fix ORC Java JNI crash
git cherry-pick bf9a4a6fec054ff5f5570568ce76cfb161aa30d3  # ARROW-8608: [C++] Update vendored 'variant.hpp' to fix CUDA 10.2
git cherry-pick fe323c5da3aabd4a41cb650e17265357fc58e7fd  # ARROW-8699: [R] Fix automatic r_to_py conversion
git cherry-pick 4545838d3332dfb475db20de03b57900ffaed065  # ARROW-8704: [C++] Fix Parquet undefined behaviour on invalid input
@kszucs
kszucs / jira_curation.md
Last active April 14, 2020 17:14
ARROW JIRA curation for release 0.17
ced37b1afbe499a548b4e525788fdb66beeb7302 ARROW-6610: [C++] Add cmake option to disable filesystem layer
321896f6bf6c57e317c2d2c8ce83aca7d1eb78a0 ARROW-6740: [C++] Unmap MemoryMappedFile as soon as possible
c379f22f653e1fc0ea477ab5e26ca7eb1f3a4e24 ARROW-6777: [GLib][CI] Unpin gobject-introspection gem
b9c154a8bad81217621bb638a72f6f454ad18806 ARROW-6762: [C++] Support reading JSON files with no newline at end
4fa044c0377c7a6e92de106782ba3509129f8ea0 ARROW-6806: [C++] [Python] Fix crash validating an IPC-originating empty array
6ea98460ed034efcf0f7d06940769c848f2528f4 ARROW-6834: [C++][TRIAGE] Pin gtest version 1.8.1 to unblock Appveyor builds
ad85b1186c53a74e166848c5d150b6c65808c1cd ARROW-6661: [Java] Implement APIs like slice to enhance VectorSchemaRoot (#5470)
8621a5c489cc5af066150e900b21c709161d6cbf ARROW-6464: [Java] Refactor FixedSizeListVector#splitAndTransfer with slice API (#5293)
102acc47287c37a01ac11a5cb6bd1da3f1f0712d ARROW-6860: [Python][C++] Do not link shared libraries monolithically to pyarro
@kszucs
kszucs / commits.md
Last active October 21, 2019 15:04
Snippet to query cherry-pickable commits for a release

Commits to cherry pick on top of apache-arrow-0.15 tag

git cherry-pick 321896f6bf6c57e317c2d2c8ce83aca7d1eb78a0  # ARROW-6740: [C++] Unmap MemoryMappedFile as soon as possible
git cherry-pick c379f22f653e1fc0ea477ab5e26ca7eb1f3a4e24  # ARROW-6777: [GLib][CI] Unpin gobject-introspection gem
git cherry-pick b9c154a8bad81217621bb638a72f6f454ad18806  # ARROW-6762: [C++] Support reading JSON files with no newline at end
git cherry-pick 4fa044c0377c7a6e92de106782ba3509129f8ea0  # ARROW-6806: [C++] [Python] Fix crash validating an IPC-originating empty array
git cherry-pick ad335f953ba25d1a51005ecce7f4a0499b10d7d2  # ARROW-6631: [C++] Do not build any compression libraries by default in C++ build
git cherry-pick 6ea98460ed034efcf0f7d06940769c848f2528f4  # ARROW-6834: [C++][TRIAGE] Pin gtest version 1.8.1 to unblock Appveyor builds
git cherry-pick d1f872a05aa4aa28c980fd2fbacfc457ce289e38  # ARROW-6831: [R] Update R macOS/Windows builds for change in cmake compression defaults
diff --git a/cpp/build-support/get_apache_mirror.py b/cpp/build-support/get_apache_mirror.py
index 38ea6f4d2..ac55abad4 100755
--- a/cpp/build-support/get_apache_mirror.py
+++ b/cpp/build-support/get_apache_mirror.py
@@ -20,6 +20,8 @@
# mirror for downloading dependencies, e.g. in CMake
import json
+import warnings
+
Only in arrow: .vscode
diff -x .git -r arrow/CHANGELOG.md arrow_before_rebase/CHANGELOG.md
20,76d19
< # Apache Arrow 0.14.1 (16 July 2019)
<
< ## Bug
<
< * ARROW-5775 - [C++] StructArray : cached boxed fields not thread-safe
< * ARROW-5790 - [Python] Passing zero-dim numpy array to pa.array causes segfault
< * ARROW-5791 - [Python] pyarrow.csv.read\_csv hangs + eats all RAM
[ status] branch                                                       artifacts
--------------------------------------------------------------------------------
[SUCCESS] build-666-travis-centos-6                             uploaded 10 / 10
                                            arrow-0.14.1-1.el6.src.rpm [     OK]
                               arrow-debuginfo-0.14.1-1.el6.x86_64.rpm [     OK]
                                   arrow-devel-0.14.1-1.el6.x86_64.rpm [     OK]
                                    arrow-libs-0.14.1-1.el6.x86_64.rpm [     OK]
                           arrow-dataset-devel-0.14.1-1.el6.x86_64.rpm [     OK]
                            arrow-dataset-libs-0.14.1-1.el6.x86_64.rpm [     OK]
@kszucs
kszucs / status
Created July 17, 2019 00:32
Status of RC0 binary artifacts
```
[ status] branch artifacts
--------------------------------------------------------------------------------
[SUCCESS] build-666-travis-centos-6 uploaded 10 / 10
arrow-0.14.1-1.el6.src.rpm [ OK]
arrow-debuginfo-0.14.1-1.el6.x86_64.rpm [ OK]
arrow-devel-0.14.1-1.el6.x86_64.rpm [ OK]
arrow-libs-0.14.1-1.el6.x86_64.rpm [ OK]
arrow-dataset-devel-0.14.1-1.el6.x86_64.rpm [ OK]
arrow-dataset-libs-0.14.1-1.el6.x86_64.rpm [ OK]