KR
Size: a a a
KR
ПФ
KR
ЕГ
ПФ
ПФ
ПФ
KR
KR
NN
ВА
PK
T
T
PL
21/09/14 11:28:01 INFO TransportClientFactory: Successfully created connection to ip-10-0-2-232.eu-west-1.compute.internal/10.0.2.232:34145 after 93 ms (0 ms spent in bootstraps)
21/09/14 11:28:29 WARN TransportChannelHandler: Exception in connection from ip-10-0-2-232.eu-west-1.compute.internal/10.0.2.232:34145
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1106)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Thread.java:748)
Н
+---+--------------+--------------------+
| id| key| value|
+---+--------------+--------------------+
| 0| | null|
| 1| as| v1|
| 2| descr| v2|
| 3| descr| v3|
| 4| | null|
Результат:
+--------------+--------------------+
| as| descr|
+--------------+--------------------+
| v1 | v2,v3|
DM
m
.withColumn('SUM1',sum([F.col(c) for c in col_list])) выхода не вижу (что достаточно плохо скажется на производительности). Может быть есть какое-то более тру решение?ЕГ
ЕГ