Skip to content

Commit 7d50c73

Browse files
committed
PLUGIN-1896: Add Get Schema button to Named Table option
1 parent 442a0a5 commit 7d50c73

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/main/java/io/cdap/plugin/snowflake/source/batch/ImportQueryType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2020 Cask Data, Inc.
2+
* Copyright © 2025 Cask Data, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of

widgets/Snowflake-batchsource.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,17 @@
5858
{
5959
"widget-type": "textbox",
6060
"label": "Table Name",
61-
"name": "tableName"
61+
"name": "tableName",
62+
"plugin-function": {
63+
"label": "Get Schema",
64+
"widget": "outputSchema",
65+
"output-property": "schema",
66+
"omit-properties": [
67+
{
68+
"name": "schema"
69+
}
70+
]
71+
}
6272
},
6373
{
6474
"widget-type": "textarea",

0 commit comments

Comments
 (0)