785 B
785 B
Messages Schema
Creates Iceberg table lake.db1.messages with ingest fields:
thread_idSTRINGmessage_idSTRINGsenderSTRINGchannelSTRINGsent_atTIMESTAMPbodySTRINGmetadata_jsonSTRING
Run on lakehouse-core
ssh niklas@lakehouse-core.rakeroots.lan 'cd /tmp/jecio && ./create-messages-table-via-spark-container.sh'
Verify
ssh niklas@lakehouse-core.rakeroots.lan "docker exec spark /opt/spark/bin/spark-sql --properties-file /opt/lakehouse/spark-conf/lakehouse-spark-defaults.conf --packages 'org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.10.1,org.apache.iceberg:iceberg-aws-bundle:1.10.1,org.projectnessie.nessie-integrations:nessie-spark-extensions-3.5_2.12:0.104.5' -e 'DESCRIBE TABLE lake.db1.messages'"