[ https://issues.apache.org/jira/browse/CASSANDRA-19631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-19631: ------------------------------------------ Description: Why don't we autocomplete native functions in CQLSH shell? I am pretty lost in what functions there are to choose from without consulting the documentation. Additionally, the documentation on [Blob conversion functions|https://github.com/apache/cassandra/blob/trunk/doc/cql3/CQL.textile#blob-conversion-functions] could use an example, as done for the other builtins. This update will add auto-completion for: {*}aggregate math functions{*}: count, avg, min, max, sum {*}scalar math functions{*}: abs, exp, log, log10, round {*}collection functions{*}: map_keys, map_values, collection_avg, collection_ count, collection_min, collection_max, collection_sum {*}current time functions{*}: current_date, current_time, current_timeuid, current_timestamp {*}mask functions{*}: mask_default, mask_hash, mask_inner, mask_null, mask_replace, mask_outer {*}time conversion functions{*}: to_date, to_timestamp, to_unix_timestamp {*}timeuuid functions{*}: max_timeuuid, min_timeuuid {*}writetime functions{*}: writetime was: Why don't we autocomplete native functions in CQLSH shell? I am pretty lost in what functions are there to choose from without consulting the documentation. Additionally, the documentation on [Blob conversion functions|https://github.com/apache/cassandra/blob/trunk/doc/cql3/CQL.textile#blob-conversion-functions] could use an example, as done for the other builtins. This update will add auto-completion for: {*}aggregate math functions{*}: count, avg, min, max, sum {*}scalar math functions{*}: abs, exp, log, log10, round {*}collection functions{*}: map_keys, map_values, collection_avg, collection_ count, collection_min, collection_max, collection_sum {*}current time functions{*}: current_date, current_time, current_timeuid, current_timestamp {*}mask functions{*}: mask_default, mask_hash, mask_inner, mask_null, mask_replace, mask_outer {*}time conversion functions{*}: to_date, to_timestamp, to_unix_timestamp {*}timeuuid functions{*}: max_timeuuid, min_timeuuid {*}writetime functions{*}: writetime > Add autocompletion in CQLSH for built-in functions > -------------------------------------------------- > > Key: CASSANDRA-19631 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19631 > Project: Apache Cassandra > Issue Type: Improvement > Components: CQL/Interpreter > Reporter: Stefan Miklosovic > Assignee: Brad Schoening > Priority: Normal > > Why don't we autocomplete native functions in CQLSH shell? I am pretty lost > in what functions there are to choose from without consulting the > documentation. > Additionally, the documentation on [Blob conversion > functions|https://github.com/apache/cassandra/blob/trunk/doc/cql3/CQL.textile#blob-conversion-functions] > could use an example, as done for the other builtins. > This update will add auto-completion for: > {*}aggregate math functions{*}: count, avg, min, max, sum > {*}scalar math functions{*}: abs, exp, log, log10, round > {*}collection functions{*}: map_keys, map_values, collection_avg, collection_ > count, collection_min, collection_max, collection_sum > {*}current time functions{*}: current_date, current_time, current_timeuid, > current_timestamp > {*}mask functions{*}: mask_default, mask_hash, mask_inner, mask_null, > mask_replace, mask_outer > {*}time conversion functions{*}: to_date, to_timestamp, to_unix_timestamp > {*}timeuuid functions{*}: max_timeuuid, min_timeuuid > {*}writetime functions{*}: writetime > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org