rscarborough1996 commented on issue #27177:
URL: https://github.com/apache/superset/issues/27177#issuecomment-1965111435

   `form_data` request from embedded dashboard:
   ```
   {
       "datasource": "76__table",
       "viz_type": "table",
       "slice_id": 108,
       "url_params": {},
       "query_mode": "raw",
       "groupby": [],
       "time_grain_sqla": "P1D",
       "temporal_columns_lookup": {},
       "metrics": [],
       "all_columns": [...],
       "percent_metrics": [],
       "adhoc_filters": [],
       "order_by_cols": [
           "[\"tstamp\", false]"
       ],
       "row_limit": 50000,
       "server_page_length": 10,
       "order_desc": true,
       "table_timestamp_format": "smart_date",
       "show_cell_bars": false,
       "color_pn": true,
       "column_config": {
           "operatorId": {
               "showCellBars": false
           },
           "tstamp": {
               "d3TimeFormat": "%Y-%m-%d %H:%M:%S"
           }
       },
       "conditional_formatting": [],
       "extra_form_data": {},
       "granularity_sqla": "tstamp",
       "time_range": "No filter",
       "label_colors": {},
       "shared_label_colors": {},
       "extra_filters": [],
       "dashboardId": 65,
       "force": false,
       "result_format": "json",
       "result_type": "full",
       "include_time": false
   }
   ```
   
   `params` for that chart from the database:
   ```
   {
     "adhoc_filters": [],
     "all_columns": [...],
     "color_pn": true,
     "column_config": {
       "operatorId": {
         "showCellBars": false
       },
       "tstamp": {
         "d3TimeFormat": "%Y-%m-%d %H:%M:%S"
       }
     },
     "conditional_formatting": [],
     "datasource": "76__table",
     "extra_form_data": {},
     "granularity_sqla": "tstamp",
     "groupby": [],
     "metrics": [],
     "order_by_cols": [
       "[\"tstamp\", false]"
     ],
     "order_desc": true,
     "percent_metrics": [],
     "query_mode": "raw",
     "row_limit": 50000,
     "server_page_length": 10,
     "show_cell_bars": false,
     "slice_id": 108,
     "table_timestamp_format": "smart_date",
     "time_grain_sqla": "P1D",
     "time_range": "No filter",
     "viz_type": "table"
   }
   ```
   
   I've removed the columns here, but I did verify that they match.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to