Skip to content

Instantly share code, notes, and snippets.

View NicolasPA's full-sized avatar
🚰
Would you have some data?

Nicolas Parot Alvarez NicolasPA

🚰
Would you have some data?
View GitHub Profile
@NicolasPA
NicolasPA / xml2db_data_flow_test.py
Created August 8, 2023 15:56
xml2db data flow test
import pandas as pd
import xml2db
data_model = xml2db.DataModel.create_from_xsd_file(
xsd_file=xsd_path,
db_schema=db_schema,
connection_string=connection_string,
model_config=model_config,
)
document = data_model.parse_xml(
@NicolasPA
NicolasPA / apache_hive_quickstart.md
Created October 17, 2023 02:28
Fix bugged Apache Hive quickstart with docker

There's no easy way to submit a fix to this doc https://hive.apache.org/developement/quickstart/ so I'm writing my fix here.

Explanation

In doc it says:

docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive4 apache/hive:${HIVE_VERSION}
docker exec -it hiveserver2 beeline -u 'jdbc:hive2://hiveserver2:10000/'