Adding data into bucket with a CSV through UI

ydorian
Thu, 21 Nov 2024 11:17:56 +0000
Store

I am new to Influx and am trying to add data into a database through a CSV file. When adding the data I keep getting the error: error in csv.from(): failed to read metadata: column “LapTime” has invalid datatype: unsupported data type “duration”. Any help would be appreciated. Here’s a sample of the CSV:

#group,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false
#datatype,duration,string,unsignedLong,duration,unsignedLong,unsignedLong,duration,duration,duration,duration,duration,duration,duration,duration,unsignedLong,unsignedLong,unsignedLong,unsignedLong,boolean,string,unsignedLong,boolean,string,dateTime:RFC3339,dateTime:RFC3339,unsignedLong,unsignedLong,boolean,string,boolean,boolean
#default,,,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,
,Time,Driver,DriverNumber,LapTime,LapNumber,Stint,PitOutTime,PitInTime,Sector1Time,Sector2Time,Sector3Time,Sector1SessionTime,Sector2SessionTime,Sector3SessionTime,SpeedI1,SpeedI2,SpeedFL,SpeedST,IsPersonalBest,Compound,TyreLife,FreshTyre,Team,LapStartTime,LapStartDate,TrackStatus,Position,Deleted,DeletedReason,FastF1Generated,IsAccurate
,3785115000000,VER,1,77639000000,1.0,1.0,,,,31613000000,25440000000,,3759687000000,3785187000000,292.0,233.0,109.0,297.0,False,MEDIUM,1.0,True,Red Bull Racing,3707219000000,2023-07-02 13:02:48.211,124,1.0,False,,False,False

1 post - 1 participant