From 99b6eb9b697bff184352eb0a3ed6558acfb3f252 Mon Sep 17 00:00:00 2001 From: satoshi hikida Date: Thu, 27 Nov 2025 00:48:58 +0900 Subject: [PATCH] adjust for Analytics 3.17 --- scalardb-analytics-sample/docker/Dockerfile.spark | 2 +- scalardb-analytics-sample/sql/postgres_copy.sql | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scalardb-analytics-sample/docker/Dockerfile.spark b/scalardb-analytics-sample/docker/Dockerfile.spark index e4006f3..996c110 100644 --- a/scalardb-analytics-sample/docker/Dockerfile.spark +++ b/scalardb-analytics-sample/docker/Dockerfile.spark @@ -1,6 +1,6 @@ FROM eclipse-temurin:17-jre-jammy -ENV SPARK_VERSION=3.5.6 \ +ENV SPARK_VERSION=3.5.7 \ HADOOP_VERSION=3 \ SPARK_HOME=/opt/spark \ PATH="/opt/spark/bin:/opt/spark/sbin:${PATH}" \ diff --git a/scalardb-analytics-sample/sql/postgres_copy.sql b/scalardb-analytics-sample/sql/postgres_copy.sql index 22b2224..1b248cf 100644 --- a/scalardb-analytics-sample/sql/postgres_copy.sql +++ b/scalardb-analytics-sample/sql/postgres_copy.sql @@ -1,4 +1,5 @@ -create table customer ( +create schema if not exists sample_ns; +create table sample_ns.customer ( c_custkey int, c_name text, c_address text, @@ -9,4 +10,4 @@ create table customer ( c_comment text, PRIMARY KEY (c_custkey) ); -\copy customer from '/opt/customer.csv' delimiter ',' csv; +\copy sample_ns.customer from '/opt/customer.csv' delimiter ',' csv;