All notable changes to the "BigQuery Runner" extension will be documented in this file.
- Add "Copy Table ID" and "Copy Field Name" to the context menu of the tree view.
- Fixed large Int64 not overflowing.
- Fixed broken JSON in README.
- Fixed a bug that "Preview Table in VS Code" does not use projectId in bigqueryRunner.tree.projectIds.
- Add usage of query params to README.
- Publish to Open VSX Registry.
- Support system variables reference.
- Allow tables in the tree to be previewed in the Google Cloud Console.
- Displays information about the table being previewed.
- Don't display
Query
andQueryWithPosition
error.- Feedback to the editor, so it shouldn't be necessary.
- Don't mark error when text doesn't exist.
- Use built-in icons in the tree view.
- Fix bug that JS could not be loaded from viewer HTML.
- Feedback on success or failure of login or logout to the view
- Add Login/Logout commands.
- Fixed wrong field name.
- Do not use cache of previous input values if query parameters are changed.
- Changed the query tokenizer from the original implementation to sql-formatter.
- Added icons to the tree view.
- Support deep schema with
ARRAY
andSTRUCT
in the tree view.
- Delay the display of the result view until the results are returned successfully.
- Persist query parameters.
- Add commands:
bigqueryRunner.clearParams
: Clear the stored parameters for active text editor.bigqueryRunner.clearAllParams
: Clear all stored parameters.
- Added some setup guidance.
- When a table in the tree view of resources is opened, the fields are now displayed.
- The name and type are displayed in the field.
- Right-clicking on a table in the tree view of resources now displays a context menu of preview commands.
- Changed to dry-run first when running.
- This is because there are errors that can only be obtained by dry-run, especially for long queries.
- Changed to correctly display the page in the viewer footer if the result does not exist.
- Display
0 - 0 of 0
instead of1 - 0 of 0
.
- Display
- Fixed problem of incorrectly parsing
@
and?
in strings to query parameters. #29
- Added an explanation of how to authenticate using Gcloud Credential to the chapter on authentication methods in the README.
- Fixed problem with billing status spinner not stopping in some cases.
- Changed schema table direction from horizontal to vertical.
- Schema tabs eliminated and merged into table tabs.
- Added implementation to allow specifying a byte string for
maximumBytesBilled
.
- Fixed an problem where the following two settings were not reflected.
useLegacySQL
maximumBytesBilled
- Fixed problem of multiple columns with the same name #26
- Fixed problem that tab position would not be retained when moving tab with commands.
- Added features to improve download UX.
- Provide commands to move between tabs #18
- Fixed the problem that the spinner in the viewer does not stop when NoPageTokenError occurs when paging.
- Fixed the problem that the current page exceeding range when performing quick paging.
- Fixed bugs around query parameters.
- Display download progress, errors and completion in the status bar.
- Fixed a problem in which the number of rows that should be retrieved was not displayed or downloaded when retrieving results with a large amount of data per row.
- The row information displayed on the page is now correct accordingly.
- Added a tab for table schema.
- More queries supported.
- Changed the implementation of data fetching as follows; instead of assuming that it is unlikely to be able to fetch the data necessary for the tab to be displayed and not fetching it, if it is not possible to display the tab as a result of fetching it, it is not displayed.
- Added commands for download.
- Reduced the time it takes to change pages.
- Avoided fetching extraneous data.
- Fixed problem with downloading files in Windows.
- Added parameter support experimentally.
- This feature could be removed in the future.
- References:
- Added a download button to the bottom right corner of the Results tab in the viewer.
- Click it and select the save format and destination to save the results to a file.
- Added a preview button next to the table ID in the viewer.
- Click it, another viewer will open and display the results of SELECTing that table.
- Added config:
bigqueryRunner.downloader.rowsPerPage
- The number of rows to fetch per page of paging when downloading.
- Rename config:
queryValidation.enabled
->validation.enabled
queryValidation.debounceInterval
->validation.debounceInterval
bigqueryRunner.format.csv.header
->bigqueryRunner.downloader.csv.header
bigqueryRunner.format.csv.delimiter
->bigqueryRunner.downloader.csv.delimiter
bigqueryRunner.pagination.results
->bigqueryRunner.viewer.rowsPerPage
bigqueryRunner.output.viewer.column
->bigqueryRunner.viewer.column
- Detailed log output to output panel.
- Viewer tabs are now rendered sequentially as data becomes available.
- Fixed a problem that results were not displayed when DECLARE.
- Removed config:
bigqueryRunner.output.type
- Removed option to output results to output panel
- Instead, you can see the results in a nice table that is output to the viewer.
- Removed option to output results to output panel
bigqueryRunner.output.file.path
- Removed option to output results to file
- Instead, when you select an output format from the Download button in the Viewer, a dialog box will appear asking you to specify the path where you want to save the file. Once the path is specified in that dialog, output to a file will begin.
- Removed option to output results to file
- Support routine.
- Wait for the HTML to finish loading in the Webview and for the JavaScript to complete initialization.
- Fixed a problem where results are not displayed in the viewer after a query is executed.
- Fixed problem with validation on files that are not query files.
- Fixed a problem with incorrect error mark positions.
- Fixed the problem of the header and footer showing through when scrolling a horizontal table.
- Notify when text has been copied to the clipboard.
- Added a pane of job information to the viewer.
- Added a pane of table information to the viewer.
- Support multi-select.
- Added GUI buttons to the viewer for paging.
- Added job information pane to the viewer.
- Fixed file output directories are automatically created.
- Added a GUI button to run the query on the editor title menu bar.
- Supported
MERGE
statement.- Added process to display all records as results after creating the table.
- Open one viewer per query file. Now open as many viewers as the number of queries.
- The position of the column to open the viewer can be set as relative or absolute value:
bigqueryRunner.output.viewer.column
. - Run / Prev Page / Next Page commands can be executed on the viewer.
- Display the icon on the tab of the webview panel.
- Supported Query Drive data.
- Fixed error when expanding nullable structs.
- Fixed to mark the position of errors correctly when executing selected text as a query.
- Upgraded dependent packages
- Fixed syntax error if data source name contains hyphens.
- Supported
CREATE TABLE AS SELECT
statement.- Added process to display all records as results after creating the table.
- Fixed a bug where the loading display would not stop even though it was in error.
- Fixed a bug that panel is created on every run.
- Fixed an irreproducible bug that could cause the viewer instance of the output destination to be disposed during processing.
- Fixed the bug that boolean is not correctly output to CSV.
- Fixed a bug where undefined was displayed in empty cells when output.type is set to viewer.
- Added extension setting to README to automatic validation.
- Fixed a bug that certain types cannot be rendered when output.type is set to viewer.
BIGNUMERIC
NUMERIC
BOOL
BYTES
- Enabling the setting of status bar items position.
bigqueryRunner.statusBarItem.align
: The alignment of the status bar itembigqueryRunner.statusBarItem.priority
: The priority of status bar item. Higher value means the item should be shown more to the left.
- Display the previous status in the status bar even while loading.
- Display the amount of data to be processed or billed in the status bar.
- Styled the padding around the table.
- Renamed the value of settings
bigqueryRunner.output.type
fromoutput
tolog
. - Update descriptions for commands and configurations.
- Display the skeleton from the initialization of the viewer until the data loading and rendering is complete.
- Added links to each version in the change log.
- Rewroted the README.
- Added a spinner to show the loading status.
- Optimized data messaging for fast rendering.
- Changed the rendering engine to use React v18β for asynchronous rendering.
- Changed the table header to stick to the top of the panel.
- Changed the table footer to stick to the bottom of the panel.
- Added pagination.
- Added an option for pagination.
bigqueryRunner.pagination.results
: number of rows per page
- Added commands for pagination
bigqueryRunner.prevPage
: display previous pagebigqueryRunner.nextPage
: display next page
- Added a row number column to the viewer.
- Added page information to viewer.
- Show an authentication error message.
- Fixed issue where viewer resources could not be loaded.
- Add the
viewer
options tobigqueryRunner.output.type
- Rendering a well-formed table to a webview
- Validate already opened files when the extension is activated.
- Validate that the query is correct when editing it.
- Added support for relative paths in
keyFilename
option.- Convert the relative path to an absolute path from the root folder.
- Changed to validate queries by default.
- Renamed verifyOnSave option to queryValidation.
- Shortened the property in config.
bigqueryRunner.output.format
->bigqueryRunner.format
bigqueryRunner.output.destination
->bigqueryRunner.output
- Changed the message to correctly state that the amount of data to be read by dry run has been estimated.
- Added JSON format
- Added JSON Lines format
- Renamed validateOnSave option to verifyOnSave
- Removed support for json space
- Added markdown table format.
- Rename option
checkErrorOnSave
tovalidateOnSave
. - Changed to put a new line in the Output Channel for each execution.
- Changed screenshot for
checkErrorOnSave
option in README.
- Added option to check for query errors when saving files.
- Changed to add units to bytes output in logs.
- Mark the location of errors encountered during the execution of a query job in the editor.
- Added a new line to the last line of output.
- Show output window when outputting error log.
- Added file export as an option.
- Added header and delimiter options to CSV format.
- Added space option to JSON format.
- Changed the format of the option settings.
- Changed CSV format to express deep structure.
- Removed JSON pretty option.
- Add a screenshot to the README.
- Add the recommended settings to the README.
- Runs the selected text as query, if the text is selected.
- Removed the command dedicated to the selected text.
- Capture errors that were not captured and printed in the output window.
- Unify the signature of the extension with bigqueryRunner.
- Update repository URL.
- Add option to preserve focus.
- Enabled table format to represent deep structures.
- Add an icon.
- Print error to output window.
- Don't focus to the output window on every output.