Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Autoassigns column datatype in table widget #16701

Merged

Conversation

souma-ghosh
Copy link
Contributor

@souma-ghosh souma-ghosh commented Sep 12, 2022

Description

When creating a column from tableData we were auto-assigning columns to "Plain Text" type by default without looking at the data of the column.

In this PR (In order to auto-assign better column types) before creating each column

  1. We pick up the the first non-null value for that column from tableData
  2. Assign datatype to the column according to the value

Note: Currently limited the check for non-null values to maxRowsToCheck rows, where maxRowsToCheck = 5

Datatypes being checked for and the corresponding column type being assigned:

  • number: Number
  • boolean: Checkbox
  • string: Plain Text
  • popular date formats: Date
  • fallback/default: Plain Text

Fixes #12831

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Jest tests

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

- Limited to only number, string and boolean datatypes
@vercel
Copy link

vercel bot commented Sep 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
appsmith ✅ Ready (Inspect) Visit Preview Sep 23, 2022 at 10:16PM (UTC)

@github-actions github-actions bot added App Viewers Pod This label assigns issues to the app viewers pod Enhancement New feature or request Medium Issues that frustrate users due to poor UX Table Widget labels Sep 12, 2022
}

try {
parsedColumnValue = _.isString(columnValue)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to parse. we should distinguish "false" from false. Because checkbox treats "false" as true value. So if we set the type checkbox. it will show up as checked.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the whole try catch block here then? Since its only for the parsing and nothing else @sbalaji1192

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. remove the block

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without the parsing typeof "23" will give us string, hence the column will get TEXT type instead of NUMBER type. Is this going to be an issue? @sbalaji1192

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's alright. We should only consider 23 as a number type.

: columnValue;
} catch (e) {
// eslint-disable-next-line no-console
console.error(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to return the default type here.

Adjust jest tests accordingly
…E/12831-autoassign-columntype-in-table-widget
Limited to checking upto maxRowsToCheck
*/
while (
(columnValue === null || columnValue === undefined) &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use _.isNill

app/client/src/widgets/TableWidgetV2/widget/utilities.ts Outdated Show resolved Hide resolved
@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=e775589

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3051047438.
Workflow: Appsmith External Integration Test Workflow.
Commit: e775589.
PR: 16701.

@github-actions
Copy link

UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/3051047438.
Commit: ``.
Results:

Click to view performance test results

| | Run 1 (ms)| Run 2 (ms)| Run 3 (ms)| Run 4 (ms)| Run 5 (ms)| Minimum (ms)| Median (ms)| Mean (ms)| Range (%) | SD.Sample (%) | SD.Population (%)|
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |
SELECT_CATEGORY| | | | | | | | | | |
| scripting | 468.56 | 371.32 | 367.96 | 325.7 | 343.71 | 325.7| 367.96| 375.45 | 38.05| 14.72 | 13.17|
| painting | 4.07 | 13.64 | 3.06 | 2.93 | 3.32 | 2.93| 3.32| 5.4 | 198.33| 85.74 | 76.67|
| rendering | 120.8 | 108.79 | 108.3 | 101.93 | 107.84 | 101.93| 108.3| 109.53 | 17.23| 6.29 | 5.62|
BIND_TABLE_DATA| | | | | | | | | | |
| scripting | 1037.74 | 1060.64 | 967.13 | 965.72 | 1194.52 | 965.72| 1037.74| 1045.15 | 21.89| 8.95 | 8.01|
| painting | 28.8 | 30.47 | 15.31 | 21.82 | 24.02 | 15.31| 24.02| 24.08 | 62.96| 25.00 | 22.38|
| rendering | 920.41 | 911.26 | 823.15 | 800.6 | 856.91 | 800.6| 856.91| 862.47 | 13.89| 6.12 | 5.47|
CLICK_ON_TABLE_ROW| | | | | | | | | | |
| scripting | 863.38 | 867.69 | 827.8 | 862.89 | 936.92 | 827.8| 863.38| 871.74 | 12.52| 4.57 | 4.09|
| painting | 12.48 | 11.75 | 10.47 | 9.95 | 9.98 | 9.95| 10.47| 10.93 | 23.15| 10.34 | 9.24|
| rendering | 317.6 | 307.8 | 297.31 | 306.08 | 322.7 | 297.31| 307.8| 310.3 | 8.18| 3.22 | 2.88|
UPDATE_POST_TITLE| | | | | | | | | | |
| scripting | 1402.65 | 1304.96 | 1207.26 | 1176.89 | 1317.79 | 1176.89| 1304.96| 1281.91 | 17.61| 7.09 | 6.34|
| painting | 22.92 | 16.16 | 14.46 | 12.56 | 13.89 | 12.56| 14.46| 16 | 64.75| 25.50 | 22.81|
| rendering | 495.74 | 475.07 | 449.97 | 456.14 | 466.53 | 449.97| 466.53| 468.69 | 9.77| 3.82 | 3.42|
OPEN_MODAL| | | | | | | | | | |
| scripting | 493.33 | 456.9 | 393.2 | 441.02 | 459.1 | 393.2| 456.9| 448.71 | 22.32| 8.12 | 7.26|
| painting | 16.24 | 12.96 | 19.03 | 7.9 | 13.4 | 7.9| 13.4| 13.91 | 80.01| 29.83 | 26.67|
| rendering | 418.45 | 403.91 | 373.51 | 399.42 | 395.96 | 373.51| 399.42| 398.25 | 11.28| 4.09 | 3.65|
CLOSE_MODAL| | | | | | | | | | |
| scripting | 219.25 | 187.53 | 162.42 | 174.57 | 281.45 | 162.42| 187.53| 205.04 | 58.05| 23.25 | 20.80|
| painting | 5.07 | 14.44 | 12.79 | 5.24 | 10.74 | 5.07| 10.74| 9.66 | 97.00| 44.62 | 39.96|
| rendering | 367 | 354.01 | 334.58 | 369.2 | 398.86 | 334.58| 367| 364.73 | 17.62| 6.45 | 5.77|
SELECT_WIDGET_MENU_OPEN| | | | | | | | | | |
| scripting | 972.67 | 931.28 | 906.79 | 960.84 | 1065.74 | 906.79| 960.84| 967.46 | 16.43| 6.27 | 5.61|
| painting | 13.96 | 6.72 | 5.24 | 13.48 | 10.19 | 5.24| 10.19| 9.92 | 87.90| 39.42 | 35.28|
| rendering | 645.28 | 634.02 | 587.72 | 654.45 | 726.04 | 587.72| 645.28| 649.5 | 21.30| 7.68 | 6.87|
SELECT_WIDGET_SELECT_OPTION| | | | | | | | | | |
| scripting | 186.34 | 155.17 | 152.27 | 163.51 | 200.54 | 152.27| 163.51| 171.57 | 28.13| 12.24 | 10.95|
| painting | 10.05 | 3.85 | 3.04 | 3.65 | 9.67 | 3.04| 3.85| 6.05 | 115.87| 57.69 | 51.57|
| rendering | 324.97 | 309.41 | 296.75 | 321.79 | 343.51 | 296.75| 321.79| 319.29 | 14.64| 5.49 | 4.91|

@laveena-en
Copy link
Contributor

@souma-ghosh On changing the type of a value, it isn’t reflecting on the table (In this case, I changed a boolean value to string). Not sure if this pertains to this PR. Could you have a look and confirm please?

https://www.loom.com/share/a5afac6d7b3e4a419dcbc57d77e94b62

@souma-ghosh
Copy link
Contributor Author

souma-ghosh commented Sep 15, 2022

@souma-ghosh On changing the type of a value, it isn’t reflecting on the table (In this case, I changed a boolean value to string). Not sure if this pertains to this PR. Could you have a look and confirm please?

https://www.loom.com/share/a5afac6d7b3e4a419dcbc57d77e94b62

@sbalaji1192 @dilippitchika Should we try to switch the column data type if the user changes the table data manually as shown in the above video?

@sbalaji1192
Copy link
Contributor

@souma-ghosh We don't have to. We're only going to guess the type when a column is generated. we don't have to keep guessing every time the table data changes.

CC @dilippitchika

@souma-ghosh
Copy link
Contributor Author

If everything else is working fine we can go ahead with the current solution then @laveena-en

@dilippitchika
Copy link
Contributor

Agreed with balaji, we only guess the first time. After that, it's the users responsibility to manage them.

@laveena-en
Copy link
Contributor

Yes, we can go ahead with this.
Tested and verified for data that consists of:

  1. String
  2. Number
  3. Boolean values

@dilippitchika
Copy link
Contributor

@laveena-en what about dates?

@souma-ghosh
Copy link
Contributor Author

souma-ghosh commented Sep 15, 2022

@dilippitchika Dates have not been handled yet. For us to confirm whether a column data is date type or not it has to be a valid ISO or UTC format or another format we explicitly specify. So we cannot guess a column to be of type date unless we know what format/formats we are expecting

…E/12831-autoassign-columntype-in-table-widget
@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=fd70e6b

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3065773253.
Workflow: Appsmith External Integration Test Workflow.
Commit: fd70e6b.
PR: 16701.

@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=fd70e6b

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3081404518.
Workflow: Appsmith External Integration Test Workflow.
Commit: fd70e6b.
PR: 16701.

@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=518bf59

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3096507382.
Workflow: Appsmith External Integration Test Workflow.
Commit: 518bf59.
PR: 16701.

sbalaji1192
sbalaji1192 previously approved these changes Sep 21, 2022
Copy link
Contributor

@sbalaji1192 sbalaji1192 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you improve the Pr description?

@souma-ghosh souma-ghosh self-assigned this Sep 21, 2022
@github-actions
Copy link

UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/3096507382.
Commit: ``.
Results:

Click to view performance test results

| | Run 1 (ms)| Run 2 (ms)| Run 3 (ms)| Run 4 (ms)| Run 5 (ms)| Minimum (ms)| Median (ms)| Mean (ms)| Range (%) | SD.Sample (%) | SD.Population (%)|
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |
SELECT_CATEGORY| | | | | | | | | | |
| scripting | 750.22 | 370.48 | 385.58 | 378.23 | 536.24 | 370.48| 385.58| 484.15 | 78.43| 33.84 | 30.27|
| painting | 12.75 | 3.17 | 10.65 | 3.74 | 7.36 | 3.17| 7.36| 7.53 | 127.22| 55.64 | 49.80|
| rendering | 228.55 | 111.39 | 115.85 | 117.36 | 119.48 | 111.39| 117.36| 138.53 | 84.57| 36.39 | 32.55|
BIND_TABLE_DATA| | | | | | | | | | |
| scripting | 1674.11 | 1558.88 | 1157.59 | 1084.32 | 1217.87 | 1084.32| 1217.87| 1338.55 | 44.06| 19.52 | 17.46|
| painting | 30.83 | 17.07 | 29.37 | 25.66 | 32.24 | 17.07| 29.37| 27.03 | 56.12| 22.53 | 20.13|
| rendering | 928.95 | 579.81 | 921.02 | 891.88 | 952.02 | 579.81| 921.02| 854.74 | 43.55| 18.16 | 16.24|
CLICK_ON_TABLE_ROW| | | | | | | | | | |
| scripting | 1650.51 | 1107.24 | 1042.6 | 1380.23 | 1327.47 | 1042.6| 1327.47| 1301.61 | 46.70| 18.56 | 16.60|
| painting | 20.05 | 15.79 | 13.29 | 17.68 | 22.95 | 13.29| 17.68| 17.95 | 53.82| 20.84 | 18.61|
| rendering | 462.23 | 343.08 | 343.48 | 356.37 | 389.25 | 343.08| 356.37| 378.88 | 31.45| 13.26 | 11.86|
UPDATE_POST_TITLE| | | | | | | | | | |
| scripting | 1660.14 | 1788.24 | 1658.5 | 1732.23 | 1865.75 | 1658.5| 1732.23| 1740.97 | 11.90| 5.07 | 4.54|
| painting | 15.53 | 19.69 | 17.26 | 25.4 | 20.02 | 15.53| 19.69| 19.58 | 50.41| 19.10 | 17.06|
| rendering | 491.77 | 549.88 | 493.59 | 504.19 | 536.16 | 491.77| 504.19| 515.12 | 11.28| 5.12 | 4.58|
OPEN_MODAL| | | | | | | | | | |
| scripting | 453.86 | 523.16 | 1042.52 | 525.89 | 630.68 | 453.86| 525.89| 635.22 | 92.67| 37.20 | 33.27|
| painting | 11.91 | 20.49 | 21.9 | 11.8 | 17.36 | 11.8| 17.36| 16.69 | 60.52| 28.22 | 25.22|
| rendering | 392.15 | 412.29 | 411.36 | 447.17 | 462.14 | 392.15| 412.29| 425.02 | 16.47| 6.75 | 6.04|
CLOSE_MODAL| | | | | | | | | | |
| scripting | 198.61 | 197.14 | 200.48 | 267.32 | 244.37 | 197.14| 200.48| 221.58 | 31.67| 14.59 | 13.05|
| painting | 7.13 | 10.76 | 11.43 | 18.7 | 12.55 | 7.13| 11.43| 12.11 | 95.54| 34.68 | 31.05|
| rendering | 365.83 | 388.6 | 433.75 | 427.28 | 416.34 | 365.83| 416.34| 406.36 | 16.71| 7.01 | 6.27|
SELECT_WIDGET_MENU_OPEN| | | | | | | | | | |
| scripting | 989.63 | 979.38 | 1059.16 | 1012.03 | 1261.37 | 979.38| 1012.03| 1060.31 | 26.60| 10.99 | 9.83|
| painting | 11.23 | 6.64 | 8.19 | 5.81 | 14.29 | 5.81| 8.19| 9.23 | 91.87| 37.92 | 33.91|
| rendering | 632.84 | 626.28 | 700.86 | 658.28 | 887.86 | 626.28| 658.28| 701.22 | 37.30| 15.45 | 13.82|
SELECT_WIDGET_SELECT_OPTION| | | | | | | | | | |
| scripting | 176.74 | 169.14 | 205.49 | 182.67 | 246.68 | 169.14| 182.67| 196.14 | 39.53| 15.98 | 14.29|
| painting | 10.56 | 6.65 | 5.79 | 2.66 | 6.08 | 2.66| 6.08| 6.35 | 124.41| 44.41 | 39.69|
| rendering | 333.48 | 344.15 | 334.96 | 336.33 | 428.16 | 333.48| 336.33| 355.42 | 26.64| 11.50 | 10.29|

…E/12831-autoassign-columntype-in-table-widget
@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=95dd1f0

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3103250969.
Workflow: Appsmith External Integration Test Workflow.
Commit: 95dd1f0.
PR: 16701.

@github-actions
Copy link

UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/3103250969.
Commit: ``.
Results:

Click to view performance test results

| | Run 1 (ms)| Run 2 (ms)| Run 3 (ms)| Run 4 (ms)| Run 5 (ms)| Minimum (ms)| Median (ms)| Mean (ms)| Range (%) | SD.Sample (%) | SD.Population (%)|
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |
SELECT_CATEGORY| | | | | | | | | | |
| scripting | 348.02 | 378.63 | 353.54 | 347.08 | 362.93 | 347.08| 353.54| 358.04 | 8.81| 3.66 | 3.28|
| painting | 4.23 | 4.24 | 2.94 | 3.23 | 6.29 | 2.94| 4.23| 4.19 | 79.95| 31.26 | 27.92|
| rendering | 105.75 | 114.49 | 105.25 | 102.63 | 106.31 | 102.63| 105.75| 106.89 | 11.10| 4.19 | 3.75|
BIND_TABLE_DATA| | | | | | | | | | |
| scripting | 1078.14 | 1052.33 | 1062.67 | 1065.58 | 1142.86 | 1052.33| 1065.58| 1080.32 | 8.38| 3.35 | 2.99|
| painting | 14.05 | 11.57 | 17.91 | 17.67 | 16.65 | 11.57| 16.65| 15.57 | 40.72| 17.41 | 15.54|
| rendering | 792.51 | 790.37 | 789.51 | 795.27 | 815.33 | 789.51| 792.51| 796.6 | 3.24| 1.34 | 1.20|
CLICK_ON_TABLE_ROW| | | | | | | | | | |
| scripting | 771.99 | 915.27 | 878.89 | 1026.82 | 877.14 | 771.99| 878.89| 894.02 | 28.50| 10.23 | 9.15|
| painting | 11.49 | 10.93 | 12.14 | 14.04 | 10.68 | 10.68| 11.49| 11.86 | 28.33| 11.30 | 10.12|
| rendering | 310.33 | 332.49 | 300.4 | 296.5 | 307.92 | 296.5| 307.92| 309.53 | 11.63| 4.52 | 4.04|
UPDATE_POST_TITLE| | | | | | | | | | |
| scripting | 1373.36 | 1311.78 | 1298.64 | 1442.08 | 1335.75 | 1298.64| 1335.75| 1352.32 | 10.61| 4.26 | 3.81|
| painting | 12.04 | 17.21 | 15.05 | 13.42 | 13.33 | 12.04| 13.42| 14.21 | 36.38| 14.00 | 12.53|
| rendering | 455.22 | 449.65 | 452.64 | 452.9 | 460.82 | 449.65| 452.9| 454.25 | 2.46| 0.92 | 0.82|
OPEN_MODAL| | | | | | | | | | |
| scripting | 467.65 | 469.6 | 460.85 | 460.68 | 458.48 | 458.48| 460.85| 463.45 | 2.40| 1.05 | 0.94|
| painting | 9.6 | 14.98 | 14.98 | 15.46 | 8.46 | 8.46| 14.98| 12.7 | 55.12| 26.61 | 23.78|
| rendering | 384.13 | 424.89 | 377.77 | 367.04 | 387.13 | 367.04| 384.13| 388.19 | 14.90| 5.64 | 5.05|
CLOSE_MODAL| | | | | | | | | | |
| scripting | 207.03 | 188.13 | 169.45 | 174.43 | 167.54 | 167.54| 174.43| 181.32 | 21.78| 9.08 | 8.13|
| painting | 9.23 | 7.49 | 15.33 | 4.47 | 11.14 | 4.47| 9.23| 9.53 | 113.96| 42.60 | 38.20|
| rendering | 332.7 | 338.88 | 347.83 | 334.9 | 347.87 | 332.7| 338.88| 340.44 | 4.46| 2.09 | 1.87|
SELECT_WIDGET_MENU_OPEN| | | | | | | | | | |
| scripting | 928.69 | 931.76 | 931.15 | 943.63 | 974.57 | 928.69| 931.76| 941.96 | 4.87| 2.03 | 1.82|
| painting | 12.23 | 10.8 | 4.12 | 6.89 | 17.96 | 4.12| 10.8| 10.4 | 133.08| 50.96 | 45.58|
| rendering | 588.02 | 593.28 | 598.71 | 619.24 | 616.59 | 588.02| 598.71| 603.17 | 5.18| 2.32 | 2.08|
SELECT_WIDGET_SELECT_OPTION| | | | | | | | | | |
| scripting | 154.23 | 162.81 | 169.49 | 171.57 | 152.56 | 152.56| 162.81| 162.13 | 11.73| 5.32 | 4.76|
| painting | 6.47 | 5.5 | 6.97 | 3.9 | 9.18 | 3.9| 6.47| 6.4 | 82.50| 30.31 | 27.19|
| rendering | 328.51 | 312.38 | 308.68 | 310.17 | 308.57 | 308.57| 310.17| 313.66 | 6.36| 2.69 | 2.41|

@laveena-en
Copy link
Contributor

@souma-ghosh As discussed, it seems like for a specific date format (22/09/2022 18:30), the date seems to be seen as a number instead. Please do have a look.
image
https://docs.google.com/spreadsheets/d/1H-IEkVGRlD4W37TRq9bQ3j63YFAbvAYKSSomTp-zurA/edit?usp=sharing

@souma-ghosh
Copy link
Contributor Author

souma-ghosh commented Sep 23, 2022

@souma-ghosh As discussed, it seems like for a specific date format (22/09/2022 18:30), the date seems to be seen as a number instead. Please do have a look. image https://docs.google.com/spreadsheets/d/1H-IEkVGRlD4W37TRq9bQ3j63YFAbvAYKSSomTp-zurA/edit?usp=sharing

As we saw in the computed value for the api we are using here, we get a number not a string for Date9 column. Since any number can be considered as a millisecond date format, whenever we get a number in the data we assign the column as number type column first. If and only if we get a string type data we will assign the column as Date type or String type accordingly. So this behaviour is correct

@laveena-en
Copy link
Contributor

LGTM!

…E/12831-autoassign-columntype-in-table-widget
@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=59ef853

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3111691048.
Workflow: Appsmith External Integration Test Workflow.
Commit: 59ef853.
PR: 16701.

@github-actions
Copy link

UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/3111691048.
Commit: ``.
Results:

Click to view performance test results

Run 1 (ms) Run 2 (ms) Run 3 (ms) Run 4 (ms) Run 5 (ms) Minimum (ms) Median (ms) Mean (ms) Range (%) SD.Sample (%) SD.Population (%)
SELECT_CATEGORY
scripting 365.32 350.1 498.45 382.41 418.16 350.1 382.41 402.89 36.82 14.67 13.13
painting 3.69 4.08 3.84 4.86 6.85 3.69 4.08 4.66 67.81 27.90 24.89
rendering 111.98 108.43 141.88 107.77 116.33 107.77 111.98 117.28 29.08 12.08 10.80
BIND_TABLE_DATA
scripting 1152.73 1131.83 1130.73 1196.23 1547 1130.73 1152.73 1231.7 33.80 14.47 12.94
painting 27.35 22.45 17.81 33.87 22.83 17.81 22.83 24.86 64.60 24.38 21.80
rendering 941.89 841.81 875.42 872.65 560.86 560.86 872.65 818.53 46.55 18.15 16.24
CLICK_ON_TABLE_ROW
scripting 1004.61 1038.37 865.67 1020.75 1217.92 865.67 1020.75 1029.46 34.22 12.20 10.91
painting 10.22 16.4 8.59 19.09 15.83 8.59 15.83 14.03 74.84 31.58 28.23
rendering 319.06 333.62 295.82 317.84 339.01 295.82 319.06 321.07 13.45 5.24 4.68
UPDATE_POST_TITLE
scripting 1756.59 1505.07 1619.64 2173.78 1909.79 1505.07 1756.59 1792.97 37.30 14.57 13.03
painting 23.51 16.79 15.73 23.51 17.78 15.73 17.78 19.46 39.98 19.32 17.32
rendering 540.39 493.79 522.52 757.07 522.44 493.79 522.52 567.24 46.41 18.94 16.94
OPEN_MODAL
scripting 512.05 498.63 483.22 543.3 566.42 483.22 512.05 520.72 15.98 6.49 5.80
painting 14.47 15.28 10.87 23.36 10.58 10.58 14.47 14.91 85.71 34.67 30.99
rendering 424.4 450.2 415.09 405.65 415.6 405.65 415.6 422.19 10.55 4.03 3.60
CLOSE_MODAL
scripting 690.52 694.91 346.59 291.82 241.97 241.97 346.59 453.16 99.95 48.94 43.78
painting 17.54 9.29 13.2 5.7 4.39 4.39 9.29 10.02 131.24 54.09 48.40
rendering 353.23 342.32 546.52 407.29 358.39 342.32 358.39 401.55 50.85 21.12 18.89
SELECT_WIDGET_MENU_OPEN
scripting 1043.33 982.11 1292.81 1073.77 992.44 982.11 1043.33 1076.89 28.85 11.73 10.50
painting 12.39 6.95 9.7 9.21 11.61 6.95 9.7 9.97 54.56 21.46 19.16
rendering 671 648.69 1047.63 676.25 628.38 628.38 671 734.39 57.09 23.98 21.45
SELECT_WIDGET_SELECT_OPTION
scripting 177.1 177.93 168.37 173.52 159.34 159.34 173.52 171.25 10.86 4.47 3.99
painting 2.5 4.68 3.87 6.39 7.48 2.5 4.68 4.98 100.00 39.76 35.54
rendering 329.97 310.43 358.7 325.61 312.93 310.43 325.61 327.53 14.74 5.89 5.26

@souma-ghosh
Copy link
Contributor Author

/ok-to-test sha=3b95e5b

@github-actions
Copy link

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3115940165.
Workflow: Appsmith External Integration Test Workflow.
Commit: 3b95e5b.
PR: 16701.

@github-actions
Copy link

UI Performance test run logs and artifacts: https://github.com/appsmithorg/appsmith/actions/runs/3115940165.
Commit: ``.
Results:

Click to view performance test results

Run 1 (ms) Run 2 (ms) Run 3 (ms) Run 4 (ms) Run 5 (ms) Minimum (ms) Median (ms) Mean (ms) Range (%) SD.Sample (%) SD.Population (%)
SELECT_CATEGORY
scripting 358.39 422.84 393.76 385.64 377.27 358.39 385.64 387.58 16.63 6.11 5.46
painting 3.23 5.5 17.09 6.13 5.63 3.23 5.63 7.52 184.31 72.74 65.03
rendering 107.54 110.78 109.09 110 106.18 106.18 109.09 108.72 4.23 1.71 1.54
BIND_TABLE_DATA
scripting 1054.72 1101.48 1134.38 1090.36 1148.14 1054.72 1101.48 1105.82 8.45 3.35 2.99
painting 19.07 26.37 23.78 21.6 24.56 19.07 23.78 23.08 31.63 12.22 10.92
rendering 805.2 869.22 844.49 841.51 845.34 805.2 844.49 841.15 7.61 2.73 2.44
CLICK_ON_TABLE_ROW
scripting 864.22 1023.64 932.73 946.96 1002.4 864.22 946.96 953.99 16.71 6.58 5.88
painting 10.01 13.34 11.76 12.85 13.41 10.01 12.85 12.27 27.71 11.65 10.43
rendering 302.66 329.85 297.94 319.66 314.26 297.94 314.26 312.87 10.20 4.12 3.68
UPDATE_POST_TITLE
scripting 1906.85 1569.22 1591.17 1637.1 1502.31 1502.31 1591.17 1641.33 24.65 9.51 8.51
painting 12.82 17.8 14.88 18.48 16.41 12.82 16.41 16.08 35.20 14.24 12.69
rendering 470.6 488.07 482.69 499.28 496.11 470.6 488.07 487.35 5.88 2.34 2.10
OPEN_MODAL
scripting 449.49 582.53 450.25 502.34 489.47 449.49 489.47 494.82 26.89 10.99 9.83
painting 17.01 11.77 8.05 10.69 12.61 8.05 11.77 12.03 74.48 27.18 24.36
rendering 395.65 454.23 376.42 372.38 396.32 372.38 395.65 399 20.51 8.21 7.34
CLOSE_MODAL
scripting 185.94 247.09 194.67 238.88 232.33 185.94 232.33 219.78 27.82 12.55 11.22
painting 23.17 5.08 5.58 8.22 4.67 4.67 5.58 9.34 198.07 84.05 75.16
rendering 347.56 385.61 375.88 364.11 331.01 331.01 364.11 360.83 15.13 6.07 5.43
SELECT_WIDGET_MENU_OPEN
scripting 1006.85 1023.36 989.68 980.57 941.57 941.57 989.68 988.41 8.27 3.13 2.80
painting 15.63 9.23 6.91 13.35 9.35 6.91 9.35 10.89 80.07 32.32 28.93
rendering 621.78 646.53 619.25 619.16 583.08 583.08 619.25 617.96 10.27 3.66 3.28
SELECT_WIDGET_SELECT_OPTION
scripting 165.44 159.36 162.75 172.97 155.44 155.44 162.75 163.19 10.74 4.06 3.63
painting 2.3 4.67 8.34 4.04 9.08 2.3 4.67 5.69 119.16 51.14 45.69
rendering 315.63 308.19 310.41 314.22 298.56 298.56 310.41 309.4 5.52 2.18 1.95

@souma-ghosh souma-ghosh merged commit 88fe538 into release Sep 29, 2022
@souma-ghosh souma-ghosh deleted the FEATURE/12831-autoassign-columntype-in-table-widget branch September 29, 2022 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Viewers Pod This label assigns issues to the app viewers pod Enhancement New feature or request Medium Issues that frustrate users due to poor UX Table Widget
Projects
None yet
4 participants