Skip to content

Commit

Permalink
YQ-3460 fix error attempt to read after eof (ydb-platform#7942)
Browse files Browse the repository at this point in the history
  • Loading branch information
uzhastik committed Sep 10, 2024
1 parent 5b1469c commit bc3218b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <ydb/library/actors/core/actor_bootstrapped.h>
#include <ydb/library/actors/core/hfunc.h>
#include <ydb/library/actors/core/log.h>
#include <ydb/library/services/services.pb.h>
#include <ydb/public/api/protos/ydb_value.pb.h>

#define LOG_E(name, stream) \
Expand Down
1 change: 1 addition & 0 deletions ydb/core/external_sources/object_storage/inference/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PEERDIR(

ydb/core/external_sources/object_storage

ydb/library/services
ydb/library/yql/providers/s3/compressors
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,9 @@ void readBackQuotedStringWithSQLStyle(String & s, ReadBuffer & buf)
template <typename Vector>
void readCSVStringInto(Vector & s, ReadBuffer & buf, const FormatSettings::CSV & settings)
{
/// Empty string
if (buf.eof())
throwReadAfterEOF();
return;

const char delimiter = settings.delimiter;
const char maybe_quote = *buf.position();
Expand Down

0 comments on commit bc3218b

Please sign in to comment.