Skip to content

Commit 62c7928

Browse files
feat: add support for registering JSON and Parquet files in SessionContext
1 parent db44965 commit 62c7928

14 files changed

Lines changed: 319 additions & 574 deletions

File tree

DataFusionSharp.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Solution>
22
<Folder Name="/examples/">
3-
<Project Path="examples\CsvQuery\CsvQuery.csproj" />
3+
<Project Path="examples\QueryData\QueryData.csproj" />
44
</Folder>
55
<Folder Name="/misc/">
66
<File Path=".gitignore" />

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
| **Data Sources** | | | |
2222
| | CSV read || Basic, no options exposed |
2323
| | CSV write || |
24-
| | Parquet read | | |
24+
| | Parquet read | | Basic, no options exposed |
2525
| | Parquet write || |
26-
| | JSON read | | |
26+
| | JSON read | | Basic, no options exposed |
2727
| | JSON write || |
2828
| | In-memory tables || |
2929
| **DataFrame** | | | |
Lines changed: 10 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,10 @@
1-
[
2-
{
3-
"customer_id": 1,
4-
"customer_name": "Acme Corp",
5-
"country": "USA",
6-
"city": "New York",
7-
"signup_date": "2022-01-15",
8-
"customer_segment": "Enterprise"
9-
},
10-
{
11-
"customer_id": 2,
12-
"customer_name": "Globex Ltd",
13-
"country": "UK",
14-
"city": "London",
15-
"signup_date": "2022-02-10",
16-
"customer_segment": "SMB"
17-
},
18-
{
19-
"customer_id": 3,
20-
"customer_name": "Initech",
21-
"country": "USA",
22-
"city": "San Francisco",
23-
"signup_date": "2022-03-05",
24-
"customer_segment": "SMB"
25-
},
26-
{
27-
"customer_id": 4,
28-
"customer_name": "Umbrella Corp",
29-
"country": "Germany",
30-
"city": "Berlin",
31-
"signup_date": "2022-03-20",
32-
"customer_segment": "Enterprise"
33-
},
34-
{
35-
"customer_id": 5,
36-
"customer_name": "Stark Industries",
37-
"country": "USA",
38-
"city": "Los Angeles",
39-
"signup_date": "2022-04-01",
40-
"customer_segment": "Enterprise"
41-
},
42-
{
43-
"customer_id": 6,
44-
"customer_name": "Wayne Enterprises",
45-
"country": "USA",
46-
"city": "Gotham",
47-
"signup_date": "2022-04-18",
48-
"customer_segment": "Enterprise"
49-
},
50-
{
51-
"customer_id": 7,
52-
"customer_name": "Wonka Factory",
53-
"country": "UK",
54-
"city": "Manchester",
55-
"signup_date": "2022-05-02",
56-
"customer_segment": "SMB"
57-
},
58-
{
59-
"customer_id": 8,
60-
"customer_name": "Oscorp",
61-
"country": "USA",
62-
"city": "New York",
63-
"signup_date": "2022-05-15",
64-
"customer_segment": "SMB"
65-
},
66-
{
67-
"customer_id": 9,
68-
"customer_name": "Hooli",
69-
"country": "USA",
70-
"city": "Palo Alto",
71-
"signup_date": "2022-06-01",
72-
"customer_segment": "Enterprise"
73-
},
74-
{
75-
"customer_id": 10,
76-
"customer_name": "Vehement Capital Partners",
77-
"country": "France",
78-
"city": "Paris",
79-
"signup_date": "2022-06-20",
80-
"customer_segment": "SMB"
81-
}
82-
]
1+
{"customer_id":1,"customer_name":"Acme Corp","country":"USA","city":"New York","signup_date":"2022-01-15","customer_segment":"Enterprise"}
2+
{"customer_id":2,"customer_name":"Globex Ltd","country":"UK","city":"London","signup_date":"2022-02-10","customer_segment":"SMB"}
3+
{"customer_id":3,"customer_name":"Initech","country":"USA","city":"San Francisco","signup_date":"2022-03-05","customer_segment":"SMB"}
4+
{"customer_id":4,"customer_name":"Umbrella Corp","country":"Germany","city":"Berlin","signup_date":"2022-03-20","customer_segment":"Enterprise"}
5+
{"customer_id":5,"customer_name":"Stark Industries","country":"USA","city":"Los Angeles","signup_date":"2022-04-01","customer_segment":"Enterprise"}
6+
{"customer_id":6,"customer_name":"Wayne Enterprises","country":"USA","city":"Gotham","signup_date":"2022-04-18","customer_segment":"Enterprise"}
7+
{"customer_id":7,"customer_name":"Wonka Factory","country":"UK","city":"Manchester","signup_date":"2022-05-02","customer_segment":"SMB"}
8+
{"customer_id":8,"customer_name":"Oscorp","country":"USA","city":"New York","signup_date":"2022-05-15","customer_segment":"SMB"}
9+
{"customer_id":9,"customer_name":"Hooli","country":"USA","city":"Palo Alto","signup_date":"2022-06-01","customer_segment":"Enterprise"}
10+
{"customer_id":10,"customer_name":"Vehement Capital Partners","country":"France","city":"Paris","signup_date":"2022-06-20","customer_segment":"SMB"}

0 commit comments

Comments
 (0)