Repository navigation
v0.15.0
A local AWS Glue catalog for the Glue runtime, a clear split between managed and external tables, and bucket
management in the Notislake panel.
Added
- Local AWS Glue catalog. Notebooks on the AWS Glue runtime now read and write tables with the same code as on
AWS:glueContext.create_dynamic_frame.from_catalog,getSinkwithenableUpdateCatalog,
write_dynamic_frame.from_catalog,spark.sqland SQL cells. The backend serves the Glue JSON 1.1 protocol at
/glue, signed with SigV4 per session and accepted only from the Glue runtime, and keeps the tables in
catalog.db. Spark uses a Hive + Glue catalog, and Iceberg goes throughglue_catalog. Delta, Hudi and Iceberg
tables are accepted, and a table name or location cannot be reused across the Spark, Iceberg and Glue catalogs.
The Glue node of the Catalog panel shows each table as MANAGED or EXTERNAL, with its format and what aDROPdoes
with its files. s3://notislakepaths.s3://notislake/...works as an alias ofs3a://notislake/...in local Spark, in the
Glue runtime and in DuckDB, so code copied from AWS runs unchanged.- Remove a table from the catalog. Table info has a "Remove from catalog" button for Spark, Glue and Iceberg
tables. A preview shows the location and the effect: the folder of a managed table is queued for deletion, while
external tables and folders still used by another table keep their files. If the effect changes before you
confirm, the removal is refused withcatalog_changedand the preview is read again. - Create and delete Glue schemas in the panel. Deleting a schema removes its tables with the same rules as a
tableDROP; thedefaultschema cannot be deleted (cannot_drop_default). - Bucket management in Notislake. The panel header has a refresh button and "Create bucket" (local MinIO only),
and buckets, folders and files have a context menu to refresh or delete. A deletion first counts what will be
removed and only goes ahead if that count still matches when you confirm. show()renders as a table.DataFrame.show()and the GlueDynamicFrame.show()display the same table as
echo(df). The original text output is kept forvertical=True,noutside 1..1000, invalid arguments, streaming
and environments without IPython display.- New Glue samples.
samples/glue/catalog_tables.ipynbcovers managed and external tables in the Glue catalog
(it replacescatalog.ipynb), andsamples/glue/s3_formats.ipynbwrites and reads files directly on S3 with Spark
andDynamicFrame, without the catalog.
Changed
- Managed and external tables. A table created without
LOCATIONis managed and lives in
s3a://notisbook-managed/<schema>/<table>; aDROPdeletes its files through a durable queue that the kernel
drains, including Iceberg tables. A table withLOCATIONis external, may live in any local MinIO bucket except
the reserved one, and keeps its files onDROP. The type is derived from the location: MANAGED only in the table's
own managed folder.catalog.dbmigrates on startup, recomputing the type of existing tables, and legacy Glue
MANAGED_TABLEentries outside their own folder becomeEXTERNAL_TABLEso aDROPno longer deletes their data.
The decision is recorded in ADR-0027. - Free schemas instead of bronze/silver/gold layers. Schema names are no longer tied to a layer. A new
catalog.dbseedsdefault,bronze,silverandgoldas ordinary schemas that can be deleted.CREATE SCHEMA
withoutLOCATIONgoes to the reserved bucket, and a schemaLOCATIONoutside it is refused. The
notisbook-managedbucket is created on every boot, hidden and protected in the Notislake panel. - Hudi tables under the Spark node. The separate Hudi node of the Catalog panel is gone: Hudi tables appear under
the Spark node with their format icon, and the catalog API no longer acceptshudias a catalog. - Glue runtime requires the backend. The Glue runtime no longer falls back to an in-memory catalog: without the
backend port, the launch fails before the container starts. - Global S3A configuration for the local MinIO. With the automatic Notislake connection, the S3A settings of
local Spark and the Docker runtimes are global instead of per bucket, so notebooks can read and write files in any
local bucket, including one created after the kernel started. A manual connection to an external S3 keeps the
per-bucket settings. - Graphite dark theme. The dark theme background moves from
#121212to#2d2d2b, with lighter elevated
surfaces and syntax comments in#999999to keep AA contrast. The HTML export and the landing page follow it.
Fixed
- Refused tables are evaluated again. A table refused by the catalog hook (for example, written in ORC) is
checked again when a batch cell writes it as a destination, so it enters the catalog once rewritten in a supported
format. - Notislake deletions with large buckets. Bucket and folder summaries and deletions page through the keys with
bounded memory, a failed bucket creation is rolled back, and keys with an empty segment (a//b.csv) are accepted. - Glue request checks.
/gluechecks the host and the signature header before reading the request body.