Skip to content

Commit 3f27650

Browse files
committed
ui: add support for casting columns to the table viewer
Allow the user to change the type of the column explicitly by casting the column to one of the types in PerfettoSQL.
1 parent efc223a commit 3f27650

File tree

14 files changed

+520
-206
lines changed

14 files changed

+520
-206
lines changed

ui/src/base/semantic_icons.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export class Icons {
5050
static readonly Check = 'check';
5151
static readonly Search = 'search';
5252
static readonly Save = 'save';
53+
static readonly Undo = 'undo';
5354

5455
// Page control
5556
static readonly NextPage = 'chevron_right';

ui/src/components/widgets/sql/pivot_table/pivot_table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {Button} from '../../../../widgets/button';
2020
import {Icons} from '../../../../base/semantic_icons';
2121
import {TableColumn, tableColumnId} from '../table/table_column';
2222
import {MenuDivider, MenuItem} from '../../../../widgets/menu';
23-
import {SelectColumnMenu} from '../table/select_column_menu';
23+
import {SelectColumnMenu} from '../table/menus/select_column_menu';
2424
import {SqlColumn} from '../table/sql_column';
2525
import {buildSqlQuery} from '../table/query_builder';
2626
import {Aggregation, AGGREGATIONS} from './aggregations';

0 commit comments

Comments
 (0)