Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
---
|
|
|
|
title: Query CSV data sources
|
|
|
|
list_title: CSV
|
|
|
|
description: >
|
2023-09-13 05:33:31 +00:00
|
|
|
Use [`csv.from()`](/flux/v0/stdlib/csv/from/) and
|
|
|
|
[experimental `csv.from()`](/flux/v0/stdlib/experimental/csv/from/)
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
to query CSV data with Flux.
|
|
|
|
Query a CSV string, CSV file, or CSV data from a URL.
|
|
|
|
menu:
|
2023-09-13 05:33:31 +00:00
|
|
|
flux_v0:
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
name: CSV
|
|
|
|
parent: Query data sources
|
|
|
|
weight: 103
|
|
|
|
related:
|
2023-09-13 05:33:31 +00:00
|
|
|
- /flux/v0/stdlib/csv/from/
|
|
|
|
- /flux/v0/stdlib/experimental/csv/from/, Experimental csv.from() function
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
- /influxdb/cloud/reference/syntax/annotated-csv/
|
|
|
|
list_code_example: |
|
|
|
|
```js
|
|
|
|
import "csv"
|
|
|
|
|
2022-02-28 20:53:53 +00:00
|
|
|
csvData =
|
|
|
|
"
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
#group,false,false,true,true,true,false,false
|
|
|
|
#datatype,string,long,string,string,string,long,double
|
|
|
|
#default,_result,,,,,,
|
|
|
|
,result,table,dataset,metric,sensorID,timestamp,value
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049400000000000,34.79
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049700000000000,34.65
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049400000000000,35.64
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049700000000000,35.67
|
|
|
|
"
|
2022-02-28 20:53:53 +00:00
|
|
|
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
csv.from(csv: csvData)
|
|
|
|
```
|
|
|
|
---
|
|
|
|
|
2023-09-13 05:33:31 +00:00
|
|
|
Use [`csv.from()`](/flux/v0/stdlib/csv/from/) and
|
|
|
|
[experimental `csv.from()`](/flux/v0/stdlib/experimental/csv/from/)
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
to query CSV data with Flux.
|
|
|
|
Query a CSV string, CSV file, or CSV data from a URL.
|
|
|
|
Import the `csv` or `experimental/csv` package.
|
|
|
|
|
|
|
|
- [CSV parsing modes](#csv-parsing-modes)
|
|
|
|
- [Results structure](#results-structure)
|
|
|
|
- [Examples](#examples)
|
|
|
|
- [Query an annotated CSV string](#query-an-annotated-csv-string)
|
|
|
|
- [Query a raw CSV string](#query-a-raw-csv-string)
|
|
|
|
- [Query CSV data from a file](#query-csv-data-from-a-file)
|
|
|
|
- [Query CSV data from a URL](#query-csv-data-from-a-url)
|
|
|
|
|
|
|
|
## CSV parsing modes
|
|
|
|
`csv.from()` supports two CSV parsing modes:
|
|
|
|
|
|
|
|
- **annotations**: _(Default)_ Use CSV annotations to determine column data types and table grouping.
|
|
|
|
- **raw**: Parse all columns as strings and use the first row as the **header row**
|
|
|
|
and all subsequent rows as data.
|
|
|
|
|
|
|
|
{{% note %}}
|
|
|
|
When using the **annotations** parsing mode, CSV data must include all annotation rows
|
|
|
|
(`#datatype`, `#group`, and `#default`).
|
|
|
|
{{% /note %}}
|
|
|
|
|
|
|
|
## Results structure
|
|
|
|
The structure of results returned by `csv.from()` depends on the
|
|
|
|
[parsing mode](#csv-parsing-modes) used.
|
|
|
|
|
|
|
|
- **annotations**: `csv.from()` returns a stream of tables grouped by columns
|
|
|
|
defined as `true` in the `#group` annotation row.
|
|
|
|
- **raw**: `csv.from()`returns a stream of tables with no grouping (all rows are in a single table).
|
|
|
|
All data is formatted as strings.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2022-08-19 15:27:54 +00:00
|
|
|
If just getting started, use the [Flux REPL](/influxdb/cloud/tools/flux-repl/) or the
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
[InfluxDB Data Explorer](/influxdb/cloud/query-data/execute-queries/data-explorer/)
|
2022-08-19 15:27:54 +00:00
|
|
|
to execute Flux queries.
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
|
|
|
|
- [Query an annotated CSV string](#query-an-annotated-csv-string)
|
|
|
|
- [Query a raw CSV string](#query-a-raw-csv-string)
|
|
|
|
- [Query CSV data from a file](#query-csv-data-from-a-file)
|
|
|
|
- [Query CSV data from a URL](#query-csv-data-from-a-url)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Query an annotated CSV string
|
2023-09-13 05:33:31 +00:00
|
|
|
1. Import the [`csv` package](/flux/v0/stdlib/csv/).
|
|
|
|
2. Use [`csv.from()`](/flux/v0/stdlib/csv/from/) and the `csv` parameter to
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
specify the annotated CSV string to query.
|
|
|
|
|
|
|
|
#### Query
|
|
|
|
```js
|
|
|
|
import "csv"
|
|
|
|
|
2022-02-28 20:53:53 +00:00
|
|
|
csvData =
|
|
|
|
"
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
#group,false,false,true,true,true,false,false
|
|
|
|
#datatype,string,long,string,string,string,long,double
|
|
|
|
#default,_result,,,,,,
|
|
|
|
,result,table,dataset,metric,sensorID,timestamp,value
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049400000000000,34.79
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049700000000000,34.65
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049400000000000,35.64
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049700000000000,35.67
|
|
|
|
,,2,air-sensors,temperature,TLM0100,1627049400000000000,71.84
|
|
|
|
,,2,air-sensors,temperature,TLM0100,1627049700000000000,71.87
|
|
|
|
,,3,air-sensors,temperature,TLM0200,1627049400000000000,74.10
|
|
|
|
,,3,air-sensors,temperature,TLM0200,1627049700000000000,74.17
|
|
|
|
"
|
|
|
|
|
|
|
|
csv.from(csv: csvData)
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Results
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049400000000000 | 34.79 |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049700000000000 | 34.65 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049400000000000 | 35.64 |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049700000000000 | 35.67 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :---------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049400000000000 | 71.84 |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049700000000000 | 71.87 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :---------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049400000000000 | 74.10 |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049700000000000 | 74.17 |
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Query a raw CSV string
|
2023-09-13 05:33:31 +00:00
|
|
|
1. Import the [`csv` package](/flux/v0/stdlib/csv/).
|
|
|
|
2. Use [`csv.from()`](/flux/v0/stdlib/csv/from/) and provide the following parameters:
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
|
|
|
|
- **csv**: CSV string to query
|
|
|
|
- **mode**: raw
|
|
|
|
|
|
|
|
#### Query
|
|
|
|
```js
|
|
|
|
import "csv"
|
|
|
|
|
2022-02-28 20:53:53 +00:00
|
|
|
csvData =
|
|
|
|
"
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
dataset,metric,sensorID,timestamp,value
|
|
|
|
air-sensors,humidity,TLM0100,1627049400000000000,34.79
|
|
|
|
air-sensors,humidity,TLM0100,1627049700000000000,34.65
|
|
|
|
air-sensors,humidity,TLM0200,1627049400000000000,35.64
|
|
|
|
air-sensors,humidity,TLM0200,1627049700000000000,35.67
|
|
|
|
air-sensors,temperature,TLM0100,1627049400000000000,71.84
|
|
|
|
air-sensors,temperature,TLM0100,1627049700000000000,71.87
|
|
|
|
air-sensors,temperature,TLM0200,1627049400000000000,74.10
|
|
|
|
air-sensors,temperature,TLM0200,1627049700000000000,74.17
|
|
|
|
"
|
|
|
|
|
|
|
|
csv.from(csv: csvData, mode: "raw")
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Results
|
|
|
|
{{% note %}}
|
|
|
|
When using the **raw** CSV parsing mode, all columns values are strings.
|
|
|
|
{{% /note %}}
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :---------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049400000000000 | 34.79 |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049700000000000 | 34.65 |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049400000000000 | 35.64 |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049700000000000 | 35.67 |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049400000000000 | 71.84 |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049700000000000 | 71.87 |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049400000000000 | 74.10 |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049700000000000 | 74.17 |
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Query CSV data from a file
|
2023-09-13 05:33:31 +00:00
|
|
|
1. Import the [`csv` package](/flux/v0/stdlib/csv/).
|
|
|
|
2. Use [`csv.from()`](/flux/v0/stdlib/csv/from/) and the `file` parameter to
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
query CSV data from a file.
|
|
|
|
|
|
|
|
{{% note %}}
|
|
|
|
#### Flux must have access to the file system
|
|
|
|
To query CSV data from a file, Flux must have access to the filesystem.
|
|
|
|
If Flux does not have access to the file system, the query will return an error
|
|
|
|
similar to:
|
|
|
|
|
|
|
|
```
|
|
|
|
failed to read file: filesystem service is uninitialized
|
|
|
|
```
|
|
|
|
|
|
|
|
If using InfluxDB Cloud or InfluxDB OSS, the Flux process **does not** have
|
|
|
|
access to the filesystem.
|
|
|
|
{{% /note %}}
|
|
|
|
|
|
|
|
#### Query
|
|
|
|
```js
|
|
|
|
import "csv"
|
|
|
|
|
|
|
|
csv.from(file: "/path/to/example.csv")
|
|
|
|
```
|
|
|
|
|
|
|
|
#### /path/to/example.csv
|
|
|
|
```csv
|
|
|
|
#group,false,false,true,true,true,false,false
|
|
|
|
#datatype,string,long,string,string,string,long,double
|
|
|
|
#default,_result,,,,,,
|
|
|
|
,result,table,dataset,metric,sensorID,timestamp,value
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049400000000000,34.79
|
|
|
|
,,0,air-sensors,humidity,TLM0100,1627049700000000000,34.65
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049400000000000,35.64
|
|
|
|
,,1,air-sensors,humidity,TLM0200,1627049700000000000,35.67
|
|
|
|
,,2,air-sensors,temperature,TLM0100,1627049400000000000,71.84
|
|
|
|
,,2,air-sensors,temperature,TLM0100,1627049700000000000,71.87
|
|
|
|
,,3,air-sensors,temperature,TLM0200,1627049400000000000,74.10
|
|
|
|
,,3,air-sensors,temperature,TLM0200,1627049700000000000,74.17
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Results
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049400000000000 | 34.79 |
|
|
|
|
| air-sensors | humidity | TLM0100 | 1627049700000000000 | 34.65 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049400000000000 | 35.64 |
|
|
|
|
| air-sensors | humidity | TLM0200 | 1627049700000000000 | 35.67 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :---------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049400000000000 | 71.84 |
|
|
|
|
| air-sensors | temperature | TLM0100 | 1627049700000000000 | 71.87 |
|
|
|
|
|
|
|
|
| dataset | metric | sensorID | timestamp | value |
|
|
|
|
| :---------- | :---------- | :------- | :------------------ | ----: |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049400000000000 | 74.10 |
|
|
|
|
| air-sensors | temperature | TLM0200 | 1627049700000000000 | 74.17 |
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Query CSV data from a URL
|
2023-09-13 05:33:31 +00:00
|
|
|
1. Import the [`experimental/csv` package](/flux/v0/stdlib/experimental/csv/).
|
|
|
|
2. Use the [experimental `csv.from()` function](/flux/v0/stdlib/experimental/csv/from/)
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
and `url` parameter to specify the URL to query.
|
|
|
|
|
|
|
|
{{% note %}}
|
|
|
|
The **experimental `csv.from()`** function does not support multiple parsing modes
|
|
|
|
and only works with [annotated CSV](/influxdb/cloud/reference/syntax/annotated-csv/).
|
|
|
|
{{% /note %}}
|
|
|
|
|
|
|
|
```js
|
|
|
|
import "experimental/csv"
|
|
|
|
|
|
|
|
csv.from(url: "https://example.com/example.csv")
|
|
|
|
```
|
|
|
|
|
|
|
|
**To use the parsing modes available in `csv.from()`:**
|
|
|
|
|
2023-09-13 05:33:31 +00:00
|
|
|
1. Import the [`csv`](/flux/v0/stdlib/csv/) and [`experimental/http`](/flux/v0/stdlib/experimental/http/) packages.
|
|
|
|
2. Use [`http.get()`](/flux/v0/stdlib/experimental/http/) to fetch the CSV data.
|
|
|
|
3. Use [`string()`](/flux/v0/stdlib/universe/string/) to convert the response body to a string.
|
|
|
|
4. Use [`csv.from()`](/flux/v0/stdlib/csv/from/) to parse the CSV data and return results.
|
Flux restructure (#3141)
* initial changes for flux restructure
* added all aliases
* added introduced date to all flux functions
* marked linearBins and logarithmicBins as draft
* migrated flux stdlib to new flux section, added version range to article template
* fixed list-all-functions shortcode
* duplicated and reordered flux spec, added page-nav shortcode, closes #1870
* added filtering functionality to list-all-functions shortcode
* added function tags
* Stdlib reorg (#2130)
* consolidated influxdb packages
* stdlib rename and reorg
* reorg existing contrib docs
* added keep-url to http.get example
* reorg built-in directory, add function types docs
* updated links
* updated all related links
* fixed reference links in influxdb docs
* updated all internal flux links
* updated flux links in influxdb
* one last link update
* restyle product dropdown
* update flux links in influxdb 1.7 and 1.8
* fixed shortcode call
* updated task options in flux options doc
* Flux 'interpolate' package (#2148)
* add interpolate package, closes #1649
* added missing page description to interpolate package doc
* removed unnecessary space from interpolate description
* updated interpolate package description
* ported from() note to new flux section
* New list filter javascript (#2185)
* generalized list filtering for telegraf plugins and flux functions
* added flux tags, updated filter list functionality
* added more flux tags
* added new experimental functions
* updated derivative params
* ported over new experimental functions
* fixed bad copy-pasta
* ported new notification endpoints into new flux docs
* updated flux function categories
* ported flux changes from master
* fixed product dropdown
* fixed regexp.findString example
* ported flux 0.109 changes
* updated array package aliases and supported version
* ported new functions into flux dir
* added aliases to interpolate package
* ported flux v0.114 packages
* added enterpise logic to url selector modal
* fix minor typo
* Update Flux param type convention (#2515)
* fix minor typo
* WIP new flux data type convention
* wip more param type updates
* cleaned up function type specs
* ported flux 0.115.0 packages and functions
* ported tickscript package
* ported today function
* added aliases to tickscript pkg
* updated timedMovingAverage params example
* updated to function with remote creds
* port flux 0.118 changes over
* port flux changes into flux-restructure
* ported changes from flux 0.123.0 and updated flux function docs
* updated contrib package summary
* updated function definition of schema.tagValues
* ported recent flux changes to the restructure branch
* port changes from master
* Flux get started (#3036)
* Flux group keys demo (#2553)
* interactive group key example
* added js and shortcode for group key demo
* updated group key demo to address PR feedback
* shortened sample data set
* Flux get started intro and data model (#2619)
* starting flux intro content, resolved merge conflicts
* WIP flux get started docs
* WIP flux get started
* flux get started intro and data model
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Update content/flux/v0.x/get-started/data-model.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* addressed PR feedback in flux get started
* updated flux docs landing page
* more updates to flux landing page
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Flux query basics (#2887)
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* WIP flux query basics
* wrap up content for flux query basics
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* properly close code block on flux query basics
* Flux – query data (#2891)
* added query data sources with flux and query influxdb
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/query-data/influxdb.md
* Query Prometheus with Flux (#2893)
* query prometheus with flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Query CSV data with Flux (#2895)
* query csv data with flux
* address PR feedback
* Update content/flux/v0.x/query-data/csv.md
* update flux query data sources landing page
* updated flux query data doc formats and links
* Query SQL databases (#2922)
* WIP query sql guides
* query SQL data sources, closes #1738
* updated related link on sql.from
* added link to stream of tables and updated text
* updated connection string text
* updated query sql landing page and children hr styles
* updated sql query docs to address PR feedback
* added missing colon
* Query Google Cloud Bigtable with Flux (#2928)
* Query Google Cloud Bigtable with Flux
* updated doc structure of query bigtable doc
* fixed typo in bigquery doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with Flux data types (#2967)
* scaffolding for flux types, work with strings
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* removed note about interpolation vs concatenation
* updated wording of variable type association
* generalized type inference
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* WIP work with ints
* reverted int content
* updated strings doc to address PR feedback
* added description to data types landing page
* Apply suggestions from code review
* Update content/flux/v0.x/data-types/basic/string.md
* updated composite front-matter
* Work with time types in Flux (#2974)
* work with time types in flux, closes #2260
* updated time type doc
* fixed type in time type description
* fixed typo
* updated work with time doc
* fixed typos
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* updated time type doc to address PR feedback
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with booleans (#2975)
* work with boolean types
* updated working with booleans
* updated verbiage
* added related links
* Update content/flux/v0.x/data-types/basic/boolean.md
* Work with bytes types (#2976)
* work with bytes types
* added toc to bytes type doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated work with bytes doc
* fixed typo
* added related links
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Work with durations (#2977)
* work with durations in flux
* added keywords to duration doc to improve searchability
* minor updates to duration type doc
* updated verbiage
* added related links and removed toDuration from menu
* Update content/flux/v0.x/data-types/basic/duration.md
* Work with null types (#2978)
* WIP null types
* work with null types in flux
* updated null types doc
* Update content/flux/v0.x/data-types/basic/null.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with floats (#2979)
* work with floats in flux
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
* updated floats type doc
* Update content/flux/v0.x/data-types/basic/float.md
* updated verbiage
* added related links
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with integers (#2980)
* WIP work with ints
* work with integers
* work with integers
* updated float to int behavior, added related links, closes #2973
* added toc to ints doc
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Update content/flux/v0.x/data-types/basic/integer.md
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with uintegers (#2981)
* WIP work with uints
* work with uints
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed minor type
* Work with records (#2982)
* work with records in flux
* updated record type doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with arrays (#2983)
* work with arrays
* added array.from example, added related links
* Work with dictionaries (#2984)
* WIP work with dicts
* work with dictionaries
* added related links to dict package
* added introduced version to dict package
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* added sample dict output
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Work with functions (#2985)
* work with functions
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* revamped type landing pages
* marked union types as draft
* miscellaneous updates
* Work with regular expression (#3024)
* work with regular expression types, closes #2573, closes influxdata/flux#3741
* add context for quoteMeta function
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* fix latest links in page descriptions
* updated influxdb links
* Flux syntax basics (#3033)
* flux syntax basics
* Apply suggestions from code review
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
* updated function description
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
* Update content/flux/v0.x/get-started/syntax-basics.md
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* added table param to transformations, closes #2392 (#3039)
* updated flux function links
* update algolia configuration to fix search, closes #1902 (#3042)
* ported notes in the from function doc
* Flux package options (#3083)
* add now option to universe package
* added missing package options, closes #2464
* addressed PR feedback
* Flux transformation input/output examples (#3103)
* added flux/sample shortcode
* standardize flux package titles and list titles
* added start and stop columns as an option with flux/sample shortcode
* minor updates to stdlib
* WIP add input and output examples to flux transformations
* WIP removed sample data demo from universe index page
* WIP function input and output examples
* WIP flux input output examples
* WIP flux input output examples
* flux transformation input and output examples
* Add Flux 'sampledata' package (#3088)
* add flux sampledata package
* updated sampledata example titles
* Write data with Flux (#3084)
* WIP write to sql data sources
* write to sql data sources
* added write data to influxdb with flux doc
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* made sql headings specific to each db
* updated write to influxdb
* added tag to influxdb to example
* restructred influxdb write examples as code tabs
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
* fixed list on influxdb write with flux page
* Flux move changelog (#3117)
* updated flux redirects in edge.js
* move flux changelog into Flux restructure
* add flux redirects to edge.js
* removed extra parentheses from monitor.notify examples, closes #2505
* updated flux release notes with flux 0.129.0
* moved from and to into the influxdata/influxdb package
* updated notes on to and from docs
* added flux card to homepage
* added flux-0.130.0 to flux release notes
* flux link cleanup
* updated experimental message, closes #3097 (#3128)
* Remove Flux stdlib and language from InfluxDB (#3133)
* remove flux stdlib and lang from influxdb, update flux get-started, closes #2132
* flux link cleanup
* cleaned up prometheus verbiage, updated flux data type links
* function cleanup
* fixed sidenav toggle button
* updated group key links, added aliases for flux landing page
* fixed broken links, commented out prometheus content, updated flux types names
* added flux links to the left nav
* fixed flux links in kapacitor docs
* temporarily disable search (#3134)
* merged master and updated telegraf plugins
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Co-authored-by: kelseiv <47797004+kelseiv@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2021-09-16 22:19:21 +00:00
|
|
|
|
|
|
|
```js
|
|
|
|
import "csv"
|
|
|
|
import "experimental/http"
|
|
|
|
|
|
|
|
url = "https://example.com/example.csv"
|
|
|
|
csvData = string(v: http.get(url: url).body)
|
|
|
|
|
|
|
|
csv.from(csv: csvData, mode: "raw")
|
|
|
|
```
|