Skip to content

Commit

Permalink
fix: .net 5.0 does not support [] init
Browse files Browse the repository at this point in the history
  • Loading branch information
lausannel committed Nov 18, 2024
1 parent c58ffa3 commit d1d7ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Apache.IoTDB/DataStructure/SessionDataSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public SessionDataSet(string sql, TSExecuteStatementResp resp, ConcurrentClientQ
_columnTypeLst = resp.DataTypeList;

int deduplicateIdx = 0;
Dictionary<string, int> columnToFirstIndexMap = [];
Dictionary<string, int> columnToFirstIndexMap = new Dictionary<string, int>();
for(var i = 0; i < _columnSize; i++){
var columnName = _columnNames[i];
if(_columnNameIndexMap.ContainsKey(columnName)){
Expand Down

0 comments on commit d1d7ab5

Please sign in to comment.