You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different types in Mathesar will enable different operations; for example, strings could be aggregated by concatenating, but numeric types could be aggregated by summing or multiplying. So far, while we can reflect different types, we have no way to determine the type most appropriate for a table.
Proposed solution
Using the functions from #91 , #92 , and #93 , we should make a function that takes a schema, original_table_name, and new_table_name, creates a new table with typed columns of the same names as the old table, and inserts all data there. The old table can be optionally dropped.
The text was updated successfully, but these errors were encountered:
Problem
Different types in Mathesar will enable different operations; for example, strings could be aggregated by concatenating, but numeric types could be aggregated by summing or multiplying. So far, while we can reflect different types, we have no way to determine the type most appropriate for a table.
Proposed solution
Using the functions from #91 , #92 , and #93 , we should make a function that takes a
schema
,original_table_name
, andnew_table_name
, creates a new table with typed columns of the same names as the old table, and inserts all data there. The old table can be optionally dropped.The text was updated successfully, but these errors were encountered: