Skip to content

Instantly share code, notes, and snippets.

View rmoff's full-sized avatar
:shipit:
Shitposting and Memes

Robin Moffatt rmoff

:shipit:
Shitposting and Memes
View GitHub Profile

This is a collection for Postman to access the Apache Flink SQL Gateway. It’s based on the yaml published for version 1.18.1.

I’ve added Tests to set Session and Operation handles, and amended the collection to use these variables.

You need to set a Global Variable for baseURL to your Flink SQL Gateway.

If you launch the gateway locally with:

This file has been truncated, but you can view the full file.
[0.004s][info][class,load] opened: /Users/rmoff/.sdkman/candidates/java/11.0.21-tem/lib/modules
[0.006s][info][class,load] java.lang.Object source: jrt:/java.base
[0.006s][info][class,load] java.io.Serializable source: jrt:/java.base
[0.006s][info][class,load] java.lang.Comparable source: jrt:/java.base
[0.006s][info][class,load] java.lang.CharSequence source: jrt:/java.base
[0.006s][info][class,load] java.lang.String source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.AnnotatedElement source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.GenericDeclaration source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.Type source: jrt:/java.base
[0.006s][info][class,load] java.lang.Class source: jrt:/java.base
This file has been truncated, but you can view the full file.
[0.004s][info][class,load] opened: /Users/rmoff/.sdkman/candidates/java/11.0.21-tem/lib/modules
[0.006s][info][class,load] java.lang.Object source: jrt:/java.base
[0.006s][info][class,load] java.io.Serializable source: jrt:/java.base
[0.006s][info][class,load] java.lang.Comparable source: jrt:/java.base
[0.006s][info][class,load] java.lang.CharSequence source: jrt:/java.base
[0.006s][info][class,load] java.lang.String source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.AnnotatedElement source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.GenericDeclaration source: jrt:/java.base
[0.006s][info][class,load] java.lang.reflect.Type source: jrt:/java.base
[0.007s][info][class,load] java.lang.Class source: jrt:/java.base
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmoff
rmoff / lakeFS and Delta.ipynb
Created April 6, 2023 20:21
Using lakeFS and Delta Lake with PySpark in a Jupyter Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmoff
rmoff / contexts.ipynb
Created April 5, 2023 18:59
SparkContext & SparkSession
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rmoff
rmoff / raycast.md
Created March 17, 2023 12:17
Raycast AI helping with regex

rmoff: mac regex replace in file from CLI

Raycast AI: You can use the sed command on macOS to perform a regex replacement in a file from the command line. Here's the general syntax:

sed 's/regex/replacement/g' input_file > output_file
  • regex: The regular expression you want to search for.
  • replacement: The text you want to replace the matched regex with.