[ 
https://issues.apache.org/jira/browse/CASSANDRA-19631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Schoening updated CASSANDRA-19631:
---------------------------------------
    Description: 
Why do we not 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 adds autocompletion 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

maskFunctions: 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: 

 

  was:
Why do we not 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. 


> 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 do we not 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 adds autocompletion 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
> maskFunctions: 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: 
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to