create_column_statistics_task_settings
¶
create_column_statistics_task_settings(
database_name: NameString,
table_name: NameString,
role: NameString,
*,
config_overrides: Optional[GlueClientConfig] = None,
schedule: Optional[CronExpression] = None,
column_name_list: Optional[ColumnNameList] = None,
sample_size: Optional[SampleSizePercentage] = None,
catalog_id: Optional[CatalogIdString] = None,
security_configuration: Optional[NameString] = None,
tags: Optional[TagsMap] = None,
) -> CreateColumnStatisticsTaskSettingsResponse
Creates settings for a column statistics task.
Parameters:
-
database_name(NameString) –The name of the database where the table resides.
-
table_name(NameString) –The name of the table for which to generate column statistics.
-
role(NameString) –The role used for running the column statistics.
-
schedule(Optional[CronExpression], default:None) –A schedule for running the column statistics, specified in CRON syntax.
-
column_name_list(Optional[ColumnNameList], default:None) –A list of column names for which to run statistics.
-
sample_size(Optional[SampleSizePercentage], default:None) –The percentage of data to sample.
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog in which the database resides.
-
security_configuration(Optional[NameString], default:None) –Name of the security configuration that is used to encrypt CloudWatch logs.
-
tags(Optional[TagsMap], default:None) –A map of tags.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
AlreadyExistsException–A resource to be created or added already exists.
-
ColumnStatisticsTaskRunningException–An exception thrown when you try to start another job while running a column stats generation job.
-
EntityNotFoundException–A specified entity does not exist
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 | |