Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Strange behavior when loading data from a column with "space" in column header #13

Closed
pchanas opened this issue May 23, 2018 · 1 comment

Comments

@pchanas
Copy link

pchanas commented May 23, 2018

Loading a 3 column xlsx file,
column 1 : "date" (date)
column 2 : "downloads" (integer)
column 3 : 'daily downloads' (integer)

I chose date for c1 mapping, double (or float in an other test) for c2 et c3.
Data is loaded:

  {
    "_index": "myindex",
    "_type": "doc",
    "_id": "0eg3K2MBlI2vUD8Ex95q",
    "_score": 1,
    "_source": {
      "date": "2015-01-11",
      "downloads": "503",
      "daily downloads": "53"
    }
  },

But when I create the kibana index I get the following fields:

daily downloads | string
daily downloads.keyword | string
daily_downloads | number

Then in the vizualusations, I can only use "daily_downloads" as numerical field but this field is null...
By removing the " " in the column header, everything is fine.

@kyushy
Copy link
Contributor

kyushy commented May 24, 2018

fixed in 6eb90a5

thanks for the feed back

@kyushy kyushy closed this as completed May 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants