parent
42c334af84
commit
780a60fa5d
@ -0,0 +1,24 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN cp /bin/bash /bin/sh
|
||||
|
||||
RUN apt update && apt install -y wget
|
||||
|
||||
RUN export OS_VER=`cat /etc/os-release | grep VERSION_CODENAME` &&\
|
||||
export OS_VER=${OS_VER#*=} &&\
|
||||
printf "deb https://dev.monetdb.org/downloads/deb/ "${OS_VER}" monetdb \ndeb-src https://dev.monetdb.org/downloads/deb/ "${OS_VER}" monetdb\n">/etc/apt/sources.list.d/monetdb.list
|
||||
|
||||
RUN wget --output-document=/etc/apt/trusted.gpg.d/monetdb.gpg https://dev.monetdb.org/downloads/MonetDB-GPG-KEY.gpg
|
||||
|
||||
RUN apt update && apt install -y python3 python3-pip clang-14 libmonetdbe-dev git
|
||||
|
||||
RUN git clone https://github.com/sunyinqi0508/AQuery2
|
||||
|
||||
RUN python3 -m pip install -r AQuery2/requirements.txt
|
||||
|
||||
ENV IS_DOCKER_IMAGE=1 CXX=clang-14
|
||||
|
||||
CMD cd AQuery2 && python3 prompt.py
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
CREATE TABLE types_test(names varchar(10), val real, id int)
|
||||
|
||||
LOAD DATA INFILE "datatypes.csv"
|
||||
LOAD DATA INFILE "data/datatypes.csv"
|
||||
INTO TABLE types_test
|
||||
FIELDS TERMINATED BY ","
|
||||
|
||||
|
Loading…
Reference in new issue