Skip to content

Commit

Permalink
[fix] DuckDB: make query result title more reusable (#2956)
Browse files Browse the repository at this point in the history
- Change default query result table from `Query Result (1)` to `query_result_1`

---------

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta authored Jan 29, 2025
1 parent 8033578 commit 405c36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duckdb/src/components/sql-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const SqlPanel: React.FC<SqlPanelProps> = ({initialSql = ''}) => {
},
info: {
id: generateHashId(),
label: `Query Result${counter > 0 ? ` (${counter})` : ''}`,
label: `query_result${counter > 0 ? `_${counter}` : ''}`,
format: 'arrow'
}
};
Expand Down

0 comments on commit 405c36e

Please sign in to comment.