MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / sql

Method sql

misc/python/materialize/mzexplore/common.py:155–157  ·  view source on GitHub ↗

Return the SQL string corresponding to this item type.

(self)

Source from the content-addressed store, hash-verified

153 VIEW = "view"
154
155 def sql(self) -> str:
156 """Return the SQL string corresponding to this item type."""
157 return self.replace("-", " ").upper()
158
159 def show_create(self, fqname: str) -> str | None:
160 """

Callers 15

show_createMethod · 0.95
defsFunction · 0.95
defsFunction · 0.95
plansFunction · 0.95
arrangement_sizesFunction · 0.95
workflow_nightlyFunction · 0.45
workflow_defaultFunction · 0.45
workflow_defaultFunction · 0.45
workflow_migrationFunction · 0.45
workflow_commit_conflictFunction · 0.45
run_testFunction · 0.45

Calls 2

upperMethod · 0.45
replaceMethod · 0.45

Tested by 15

test_secretsFunction · 0.36
test_orphaned_secretsFunction · 0.36
test_cluster_sizingFunction · 0.36
sql_expect_crashFunction · 0.36
test_cluster_shutdownFunction · 0.36
test_disk_labelFunction · 0.36
test_crash_environmentdFunction · 0.36
test_crash_clusterdFunction · 0.36
test_oom_clusterdFunction · 0.36
test_crash_clusterdFunction · 0.36
test_ssh_tunnelsFunction · 0.36