View Dockerfile
ARG UBUNTU_VERSION=18.04 | |
ARG CUDA_VERSION=10.2 | |
FROM nvidia/cuda:${CUDA_VERSION}-base-ubuntu${UBUNTU_VERSION} | |
# An ARG declared before a FROM is outside of a build stage, | |
# so it can’t be used in any instruction after a FROM | |
ARG USER=reasearch_monster | |
ARG PASSWORD=${USER}123$ | |
ARG PYTHON_VERSION=3.8 | |
# To use the default value of an ARG declared before the first FROM, | |
# use an ARG instruction without a value inside of a build stage: |
View PrintZeppelinNotebookLanguageStatictics.sql
%sql | |
SELECT COALESCE(lang, "Total") AS language, COUNT(*) AS cnt | |
FROM lang | |
GROUP BY lang WITH ROLLUP | |
ORDER BY cnt DESC |