Comments (15)
Can you describe what issues do you have with reading Parquet files?
from duckdb.net.
I'm getting the attached error while reading the parquet file.
Controller File:
using DuckDB.NET.Data;
using DuckDB_Demo1.Models;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System.Diagnostics;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
namespace DuckDB_Demo1.Controllers
{
public class HomeController : Controller
{
private readonly ILogger _logger;
public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
}
public string Index()
{
using (var duckDBConnection = new DuckDBConnection("Data Source=:memory:"))
{
duckDBConnection.Open();
var command = duckDBConnection.CreateCommand();
command.CommandText = "Select count(*) from parquet_scan('p3new.parquet') limit 100;";
var executeScalar = command.ExecuteScalar();
}
return "";
}
}
}
from duckdb.net.
Does the same code work when you use native duckdb library?
from duckdb.net.
Yes with the CLI I can able to execute the same query.
from duckdb.net.
Which version of duckdb.dll do you have in your project?
from duckdb.net.
V2.9.1
from duckdb.net.
Try using 0.3.1
from duckdb.net.
It works with 0.3.1 version. Thanks Giorgi
Am trying to read parquet from aws s3, but it seems not working. Could you please help if you have any samples around this that would be really helpful. Thanks
from duckdb.net.
Glad that it works for you.
from duckdb.net.
I'm not able to find 0.3.1 Version where do you find that DLL, Can you please share that link.
from duckdb.net.
You can download it from https://github.com/duckdb/duckdb/releases/tag/v0.3.1
from duckdb.net.
Is it possible for you to share a working copy with parquet here, It would be great help thanks in advance.
from duckdb.net.
Download Windows build from the link above.
from duckdb.net.
Getting a lot of errors while doing it, Is there a way can you please send the working project with Duck db 0.3.1 if possibly only.
from duckdb.net.
@karthikmallireddy I used the same code (in a console) which you mentioned above, what errors you are facing?
from duckdb.net.
Related Issues (20)
- Install MySQL extension download link error HOT 10
- Invalid Input Error statement parameter name of chinese HOT 1
- Named parameters throw AccessViolationException when debugging HOT 20
- DuckDBConnectionStringBuilder threw an exception HOT 4
- Add possibility to append byte[] HOT 2
- Binder Error: No function matches the given name and argument types '@(DATE)'. You might need to add explicit type casts. HOT 3
- Support for arrays and UUID HOT 3
- DuckDBOpen failed: IO Error: File is already open HOT 2
- Performance issue relative to other access methods HOT 19
- Add support for composite types to Appender HOT 1
- Unable to load shared library 'duckdb' or one of its dependencies HOT 2
- version 1.0 Binder Error: Referenced column "x" not found in FROM clause! HOT 4
- Making use of `LibraryImport` to reduce marshalling, smaller optimizations HOT 3
- Parameters problem HOT 2
- Can't use unicode for connectionstring HOT 3
- System.AccessViolationException when using Appender with arrays that contain null values HOT 6
- Should the `RuntimeIdentifiers` property `osx` change to `osx-x64`? HOT 5
- Parameter names HOT 2
- Add support for Cancel Command HOT 5
- Attempted to read or write protected memory. This is often an indication that other memory is corrupt. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb.net.