Skip to content

Commit 6a29550

Browse files
authored
chore: add one more example into the placeholder (#10)
1 parent 23d9876 commit 6a29550

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/features/plan-visualizer/components/PlanInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function PlanInput({
5252
value={value}
5353
onChange={(e) => onChange(e.target.value)}
5454
onKeyDown={handleKeyDown}
55-
placeholder={`Paste your DataFusion Physical Execution Plan here...\n\nExample:\nProjectionExec: expr=[id@0 as id]\n FilterExec: id@0 > 100\n ParquetExec: file_groups={...}`}
55+
placeholder={`Paste your DataFusion Physical Execution Plan here...\n\nExample 1 (Physical Plan only):\nProjectionExec: expr=[id@0 as id]\n FilterExec: id@0 > 100\n ParquetExec: file_groups={...}\n\nExample 2 (Full EXPLAIN output):\nEXPLAIN SELECT * FROM dim;\n+---------------+---------------------------------------------------------------------------------------------------------------------+\n| plan_type | plan |\n+---------------+---------------------------------------------------------------------------------------------------------------------+\n| logical_plan | TableScan: dim2_parquet projection=[d_dkey, env, service, host] |\n| physical_plan | DataSourceExec: file_groups={1 groups: [[d_1.parquet]]}, projection=[d_dkey, env, service, host], file_type=parquet |\n+---------------+---------------------------------------------------------------------------------------------------------------------+`}
5656
className={cn(
5757
'w-full h-full min-h-[150px] sm:min-h-[200px] p-3 sm:p-4 font-mono text-xs sm:text-sm',
5858
'bg-gray-50 dark:bg-gray-800/50',

0 commit comments

Comments
 (0)