This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Have you ever wondered how computer programs talk to databases? Well, that's where JDBC comes to the rescue! JDBC, which stands for "Java Database Connectivity," is like a magical translator between Java programs and databases. It helps them understand each other's language! | |
Imagine your program wants to store or get some data from a database. JDBC is the friendly bridge that helps them shake hands and exchange information. It makes life easier for developers by handling all the complicated stuff, so they can focus on building awesome apps. Thanks to JDBC, your favorite apps can store and fetch data, making them super cool and smart! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (optional) if using minikube switch docker context | |
eval $(minikube docker-env) | |
# Build Spark | |
bin/docker-image-tool.sh -r docker.io/myrepo -t v3.5 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build | |
# Expose K8S API server (minikube) | |
kubectl proxy --port=8080 | |
#Create spark service account and give permissions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.parj.sql; | |
import org.apache.calcite.config.Lex; | |
import org.apache.calcite.sql.*; | |
import org.apache.calcite.sql.fun.SqlStdOperatorTable; | |
import org.apache.calcite.sql.parser.SqlParseException; | |
import org.apache.calcite.sql.parser.SqlParser; | |
import java.util.HashMap; | |
import java.util.List; |
OlderNewer