Skip to content

Instantly share code, notes, and snippets.

View raulcd's full-sized avatar
🏠
Working from home

Raúl Cumplido raulcd

🏠
Working from home
View GitHub Profile
@raulcd
raulcd / linuxbrew-03.cmake
Last active January 26, 2023 16:55
Apache Arrow 11.0.0 hombrew formula update
2023-01-26 16:39:58 +0000
cmake
--install
build
-- Install configuration: "RELEASE"
-- Installing: /home/linuxbrew/.linuxbrew/Cellar/apache-arrow/11.0.0/lib/cmake/Arrow/FindSnappyAlt.cmake
-- Installing: /home/linuxbrew/.linuxbrew/Cellar/apache-arrow/11.0.0/lib/cmake/Arrow/FindBrotliAlt.cmake
-- Installing: /home/linuxbrew/.linuxbrew/Cellar/apache-arrow/11.0.0/lib/cmake/Arrow/FindOpenSSLAlt.cmake
@raulcd
raulcd / release_changelog.md
Last active January 12, 2023 15:28
Sample output for archery release changelog 11.0.0 with GitHub

Apache Arrow 11.0.0 (2023-01-16 08:00:00)

New Features and Improvements

  • ARROW-4709 - [C++] Optimize for ordered JSON fields (#14100)
  • ARROW-11776 - [C++][Java] Support parquet write from ArrowReader to file (#14151)
  • ARROW-13938 - [C++] Date and datetime types should autocast from strings
  • ARROW-13980 - [Go] Implement Scalar ApproxEquals (#14543)
  • ARROW-14161 - [C++][Docs] Improve Parquet C++ docs (#14018)
  • ARROW-14832 - [R] Implement bindings for stringr::str_remove and stringr::str_remove_all (#14644)
@raulcd
raulcd / output.txt
Created December 16, 2022 14:24
Example output for archery release changelog generate 11.0.0
# Apache Arrow 11.0.0 (2022-12-16)
## New Features and Improvements
* [ARROW-2034](https://issues.apache.org/jira/browse/ARROW-2034) - [C++] Filesystem implementation for Azure Blob Storage
* [ARROW-4709](https://issues.apache.org/jira/browse/ARROW-4709) - [C++] Optimize for ordered JSON fields (#14100)
* [ARROW-8221](https://issues.apache.org/jira/browse/ARROW-8221) - [Python][Dataset] Expose schema inference / validation options in the factory
* [ARROW-9720](https://issues.apache.org/jira/browse/ARROW-9720) - [Python] Long-term fate of pyarrow.parquet.ParquetDataset
* [ARROW-9843](https://issues.apache.org/jira/browse/ARROW-9843) - [C++][Python] Implement Between ternary kernel
* [ARROW-10657](https://issues.apache.org/jira/browse/ARROW-10657) - [CI] Continuous integration on Apple M1 architecture
@raulcd
raulcd / blueprint.md
Last active October 4, 2022 16:03
Blueprint to migrate third party dependencies to be built as part of Velox's CMake

Blueprint to migrate third party dependencies to be built as part of Velox's CMake

Velox uses CMake to be built and package.

Velox requires several third party dependencies and packages to be installed in order to be built. We are currently migrating how third party dependencies are installed, instead of requiring the dependencies to be installed as system dependencies we have started to modify our CMake build system to download and build the requirements as part of the build of Velox.

@raulcd
raulcd / nightly-packaging-2022-04-25-0.csv
Last active May 19, 2022 10:22
CSV report information for nightly builds
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 8 columns, instead of 4. in line 3.
task_name,task_status,build_links,crossbow_branch_url,ci_system,extra_params,template,arrow_commit
almalinux-8-amd64,success,['https://github.com/ursacomputing/crossbow/runs/6155814295?check_suite_focus=true'],https://github.com/ursacomputing/crossbow/tree/nightly-packaging-2022-04-25-0-github-almalinux-8-amd64,github,"{'target': 'almalinux-8', 'task_namespace': 'yum', 'upload_extensions': ['.rpm']}",linux-packages/github.linux.amd64.yml,dcde920f24673e917b2893129a0bf3304c470047
almalinux-8-arm64,success,['https://github.com/ursacomputing/crossbow/runs/6155820009'],https://github.com/ursacomputing/crossbow/tree/nightly-packaging-2022-04-25-0-travis-almalinux-8-arm64,travis,"{'target': 'almalinux-8-aarch64', 'task_namespace': 'yum', 'upload_extensions': ['.rpm']}",linux-packages/travis.linux.arm64.yml,dcde920f24673e917b2893129a0bf3304c470047
amazon-linux-2-amd64,success,['https://github.com/ursacomputing/crossbow/runs/6155823086?check_suite_focus=true'],https://github.com/ursacomputing/crossbow/tree/nightly-pac
@raulcd
raulcd / jira_query.py
Last active May 9, 2022 10:35
Jira API to query for tickets with Nightly label
import requests
url = "https://issues.apache.org/jira/rest/api/2/search"
headers = {
"Accept": "application/json"
}
query = {
'jql': 'project = ARROW AND labels = Nightly and status in (Open, "In Progress")'
}
response = requests.request(
@raulcd
raulcd / cars
Last active September 12, 2019 07:23
Class
people = [
{
"name":"John",
"age":30,
"cars": ["Ford", "BMW", "Fiat", "Seat"]
},
{
"name":"Rosa",
"age":32,
"cars": ["Mercedes", "BMW", "Citroen"]
# Use the sample project on the next URL
https://github.com/Swagger2Markup/spring-swagger2markup-demo
# Build it
$ gradle clean build
# Modify the swagger.json under the folder:
>> build/swagger/swagger.json
# With your swagger.json
# Remove the pdf generated folder
>> spring-swagger2markup-demo/build/asciidoc/pdf
# If that doesn't work remove the asciidoc folder also
@raulcd
raulcd / Dockerfile
Created October 16, 2014 10:09
Fig and Docker files
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD /usr/sbin/nginx -c /etc/nginx/nginx.conf